Browse Source

Re-enabling assert_hostname when instantiating docker_client from the environment.

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 9 years ago
parent
commit
7dd29e8239
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compose/cli/docker_client.py

+ 1 - 1
compose/cli/docker_client.py

@@ -49,7 +49,7 @@ def docker_client(environment, version=None, tls_config=None, host=None):
                  "Please use COMPOSE_HTTP_TIMEOUT instead.")
 
     try:
-        kwargs = kwargs_from_env(assert_hostname=False, environment=environment)
+        kwargs = kwargs_from_env(environment=environment)
     except TLSParameterError:
         raise UserError(
             "TLS configuration is invalid - make sure your DOCKER_TLS_VERIFY "