Removes useless 'verify' option in Client args
Change-Id: Id384e89852ad1070d89faa41f60a5940567718f8 Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This commit is contained in:
parent
40f832375f
commit
8add59f426
@ -34,7 +34,6 @@ def client(request):
|
|||||||
ks_version = getattr(settings,
|
ks_version = getattr(settings,
|
||||||
'OPENSTACK_API_VERSIONS', {}).get('identity', 2.0)
|
'OPENSTACK_API_VERSIONS', {}).get('identity', 2.0)
|
||||||
|
|
||||||
verify = getattr(settings, 'OPENSTACK_SSL_NO_VERIFY', False)
|
|
||||||
cacert = getattr(settings, 'OPENSTACK_SSL_CACERT', None)
|
cacert = getattr(settings, 'OPENSTACK_SSL_CACERT', None)
|
||||||
|
|
||||||
credentials = {
|
credentials = {
|
||||||
@ -42,8 +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,
|
'cert': cacert
|
||||||
'verify': verify,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ks_version == 3:
|
if ks_version == 3:
|
||||||
|
Loading…
Reference in New Issue
Block a user