mirror of https://github.com/docker/compose.git
Re-enabling assert_hostname when instantiating docker_client from the environment.
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
98d7a1e9dd
commit
7dd29e8239
|
@ -49,7 +49,7 @@ def docker_client(environment, version=None, tls_config=None, host=None):
|
||||||
"Please use COMPOSE_HTTP_TIMEOUT instead.")
|
"Please use COMPOSE_HTTP_TIMEOUT instead.")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
kwargs = kwargs_from_env(assert_hostname=False, environment=environment)
|
kwargs = kwargs_from_env(environment=environment)
|
||||||
except TLSParameterError:
|
except TLSParameterError:
|
||||||
raise UserError(
|
raise UserError(
|
||||||
"TLS configuration is invalid - make sure your DOCKER_TLS_VERIFY "
|
"TLS configuration is invalid - make sure your DOCKER_TLS_VERIFY "
|
||||||
|
|
Loading…
Reference in New Issue