mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fixing lint errors in keystone auth error
This commit is contained in:
parent
f683636c61
commit
817f49296e
1 changed files with 2 additions and 2 deletions
|
@ -309,9 +309,9 @@ def get_conn():
|
|||
if 'password' in vm_:
|
||||
kwargs['password'] = vm_['password']
|
||||
|
||||
if 'verify' in vm_ and vm_['use_keystoneauth'] == True:
|
||||
if 'verify' in vm_ and vm_['use_keystoneauth'] is True:
|
||||
kwargs['verify'] = vm_['verify']
|
||||
elif 'verify' in vm_ and vm_['use_keystoneauth'] == False:
|
||||
elif 'verify' in vm_ and vm_['use_keystoneauth'] is False:
|
||||
log.warning('SSL Certificate verification option is specified but use_keystoneauth is False or not present')
|
||||
conn = nova.SaltNova(**kwargs)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue