Pass 'context' to create_client_files method

Change-Id: Ib45dbd4e48f840edf9497aa98ca87e0ffd89e17f
Closes-Bug: #1670306
This commit is contained in:
yatinkarel 2017-03-06 16:44:40 +05:30
parent 5418a64974
commit 4a5c95ae97

View File

@ -59,7 +59,7 @@ def docker_for_cluster(context, cluster):
client_kwargs = dict()
if not cluster_template.tls_disabled:
(ca_cert, magnum_key,
magnum_cert) = cert_manager.create_client_files(cluster)
magnum_cert) = cert_manager.create_client_files(cluster, context)
client_kwargs['ca_cert'] = ca_cert.name
client_kwargs['client_key'] = magnum_key.name
client_kwargs['client_cert'] = magnum_cert.name