Removes useless 'verify' option in Client args

Change-Id: Id384e89852ad1070d89faa41f60a5940567718f8
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
(cherry picked from commit 8add59f426)
This commit is contained in:
Ruslan Aliev 2017-02-15 18:46:50 +04:00
parent 20f77064c1
commit 466d66ed31
1 changed files with 1 additions and 3 deletions

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: