Browse Source

Pass 'context' to create_client_files method

Change-Id: Ib45dbd4e48f840edf9497aa98ca87e0ffd89e17f
Closes-Bug: #1670306
yatinkarel 2 years ago
parent
commit
9f6296e432
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      magnum/common/docker_utils.py

+ 1
- 1
magnum/common/docker_utils.py View File

@@ -59,7 +59,7 @@ def docker_for_cluster(context, cluster):
59 59
     client_kwargs = dict()
60 60
     if not cluster_template.tls_disabled:
61 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 63
         client_kwargs['ca_cert'] = ca_cert.name
64 64
         client_kwargs['client_key'] = magnum_key.name
65 65
         client_kwargs['client_cert'] = magnum_cert.name

Loading…
Cancel
Save