summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Nica <snica@suse.com>2018-01-23 18:53:36 +0100
committerStefan Nica <snica@suse.com>2018-01-23 19:10:23 +0100
commit1843be52c1c72f9b53a6689b35663e5addfabc2b (patch)
tree722c02769a47a5637d62b5fb638917b473306111
parent6fbbac5ba7496eb2448a674053802a924741493e (diff)
freezer-client: proper use of cacert option
The OPENSTACK_SSL_CACERT dashboard option was incorrectly passed as 'cert' instead of 'cacert' when initializing the freezer-client session. Change-Id: I1f0b9fe27046caa87398800d91a944bb1d72a1e3 Closes-Bug: #1744992
Notes
Notes (review): Code-Review+2: Saad Zaher <eng.szaher@gmail.com> Workflow+1: Saad Zaher <eng.szaher@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 24 Jan 2018 17:30:12 +0000 Reviewed-on: https://review.openstack.org/536917 Project: openstack/freezer-web-ui Branch: refs/heads/master
-rw-r--r--disaster_recovery/api/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/disaster_recovery/api/api.py b/disaster_recovery/api/api.py
index 86a7c2b..cab9756 100644
--- a/disaster_recovery/api/api.py
+++ b/disaster_recovery/api/api.py
@@ -41,7 +41,7 @@ def client(request):
41 'auth_url': getattr(settings, 'OPENSTACK_KEYSTONE_URL'), 41 'auth_url': getattr(settings, 'OPENSTACK_KEYSTONE_URL'),
42 'endpoint': api_url, 42 'endpoint': api_url,
43 'version': ks_version, 43 'version': ks_version,
44 'cert': cacert 44 'cacert': cacert
45 } 45 }
46 46
47 if ks_version == 3: 47 if ks_version == 3: