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
This commit is contained in:
Stefan Nica 2018-01-23 18:53:36 +01:00
parent 6fbbac5ba7
commit 1843be52c1

View File

@ -41,7 +41,7 @@ def client(request):
'auth_url': getattr(settings, 'OPENSTACK_KEYSTONE_URL'), 'auth_url': getattr(settings, 'OPENSTACK_KEYSTONE_URL'),
'endpoint': api_url, 'endpoint': api_url,
'version': ks_version, 'version': ks_version,
'cert': cacert 'cacert': cacert
} }
if ks_version == 3: if ks_version == 3: