mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
If we detect a Docker-Distribution-Api-Version header indicating that the registry speaks the V2 protocol, no fallback to V1 should take place. The same applies if a V2 registry operation succeeds while attempting a push or pull. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> Upstream-commit: a57478d65f1f5782cc746c260f9d841a0907ce54 Component: engine