Removes useless 'verify' option in Client args

Change-Id: Id384e89852ad1070d89faa41f60a5940567718f8
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This commit is contained in:
Ruslan Aliev 2017-02-15 18:46:50 +04:00
parent 40f832375f
commit 8add59f426

View File

@ -34,7 +34,6 @@ def client(request):
ks_version = getattr(settings,
'OPENSTACK_API_VERSIONS', {}).get('identity', 2.0)
verify = getattr(settings, 'OPENSTACK_SSL_NO_VERIFY', False)
cacert = getattr(settings, 'OPENSTACK_SSL_CACERT', None)
credentials = {
@ -42,8 +41,7 @@ def client(request):
'auth_url': getattr(settings, 'OPENSTACK_KEYSTONE_URL'),
'endpoint': api_url,
'version': ks_version,
'cert': cacert,
'verify': verify,
'cert': cacert
}
if ks_version == 3: