mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
If a 400 error is returned due to an API version mismatch, no version and server-identification headers were returned by the API. All information in these headers is "static", so there is no reason to omit the information in case of an error being returned. This patch updates the version middleware to always return the headers. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: e9dac5ef5e8a4b0ecce0c89d337fea90f2c6aef3 Component: engine