The server configuration already keeps the current version if the daemon. This patch changes the middleware logic to use it rather than using the global value. This removes the dockerversion package dependency from the api. Signed-off-by: David Calavera <david.calavera@gmail.com> Upstream-commit: accf28a7dbdd46203c661d30b80326df4d447cea Component: engine