summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryatinkarel <yatin.karel@nectechnologies.in>2017-03-06 16:44:40 +0530
committeryatin <yatin.karel@nectechnologies.in>2017-03-10 08:22:34 +0000
commit9f6296e43220a7910b0547c6ac42cc5a6ae5b20c (patch)
tree9208cd6d97b0437e19782d067677845c051fcfec
parentb2d43a32fa5bf50d8d83ec1f5124ba3bd8044c86 (diff)
Pass 'context' to create_client_files method
Notes
Notes (review): Code-Review+2: Eli Qiao <qiaoliyong@gmail.com> Code-Review+2: Ton Ngo <ton@us.ibm.com> Code-Review+1: Vijendar Komalla <vijendar.komalla@rackspace.com> Workflow+1: yatin <yatin.karel@nectechnologies.in> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 16 Mar 2017 14:30:52 +0000 Reviewed-on: https://review.openstack.org/444149 Project: openstack/magnum Branch: refs/heads/stable/ocata
-rw-r--r--magnum/common/docker_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/magnum/common/docker_utils.py b/magnum/common/docker_utils.py
index 1678c25..d0790be 100644
--- a/magnum/common/docker_utils.py
+++ b/magnum/common/docker_utils.py
@@ -59,7 +59,7 @@ def docker_for_cluster(context, cluster):
59 client_kwargs = dict() 59 client_kwargs = dict()
60 if not cluster_template.tls_disabled: 60 if not cluster_template.tls_disabled:
61 (ca_cert, magnum_key, 61 (ca_cert, magnum_key,
62 magnum_cert) = cert_manager.create_client_files(cluster) 62 magnum_cert) = cert_manager.create_client_files(cluster, context)
63 client_kwargs['ca_cert'] = ca_cert.name 63 client_kwargs['ca_cert'] = ca_cert.name
64 client_kwargs['client_key'] = magnum_key.name 64 client_kwargs['client_key'] = magnum_key.name
65 client_kwargs['client_cert'] = magnum_cert.name 65 client_kwargs['client_cert'] = magnum_cert.name