Update docker.py

Fix typo that prevents use_tls 'encrypt' option from working properly.
This commit is contained in:
moncho 2015-03-19 19:30:36 +01:00
parent 42d91951cf
commit 3421712e05

View file

@ -609,7 +609,7 @@ class DockerManager(object):
else: else:
params['verify'] = True params['verify'] = True
params['assert_hostname'] = tls_hostname params['assert_hostname'] = tls_hostname
elif use_tls == 'encrpyt': elif use_tls == 'encrypt':
params['verify'] = False params['verify'] = False
if params: if params: