Merge "Fix the variable name mismatch"

This commit is contained in:
Jenkins 2016-08-19 04:03:13 +00:00 committed by Gerrit Code Review
commit 0b7e853784

View File

@ -217,12 +217,12 @@ class DockerWorker(object):
tls_cacert = self.params.get('tls_cacert')
if tls['verify']:
if tlscert:
self.check_file(tls['tls_cert'])
self.check_file(tls['tls_key'])
if tls_cert:
self.check_file(tls_cert)
self.check_file(tls_key)
tls['client_cert'] = (tls_cert, tls_key)
if tlscacert:
self.check_file(tls['tls_cacert'])
if tls_cacert:
self.check_file(tls_cacert)
tls['verify'] = tls_cacert
return docker.tls.TLSConfig(**tls)