Skip to content

Commit 6080fa5

Browse files
committed
Simple TLS configuration doesn't create the ssl_version attribute, use default when mounting adapter
1 parent 94cb0bd commit 6080fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(self, base_url=None, version=DEFAULT_DOCKER_API_VERSION,
6565
if isinstance(tls, TLSConfig):
6666
tls.configure_client(self)
6767
elif tls:
68-
self.mount('https://', ssladapter.SSLAdapter(self.ssl_version))
68+
self.mount('https://', ssladapter.SSLAdapter())
6969
else:
7070
self.mount('http+unix://', unixconn.UnixAdapter(base_url, timeout))
7171

0 commit comments

Comments
 (0)