mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
A recent change accidently caused any TLS configuration in FromEnv to be ignored. This change alters WithHost to create a new http client only if one doesn't already exist, and otherwise applies the logic to the transport on the existing client. This preserves the TLS configuration that might already be on the client. Signed-off-by: Drew Erny <drew.erny@docker.com> Upstream-commit: 80904e9571e7724328160c97ede6a71864f3c06a Component: engine