mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #14461 from seacrib/nova_password_fix
Check if api_key is set in kwargs instead of checking for key
This commit is contained in:
commit
4d176726de
@ -119,7 +119,7 @@ class SaltNova(object):
|
||||
self.kwargs['auth_plugin'] = auth_plugin
|
||||
self.kwargs['auth_system'] = os_auth_plugin
|
||||
|
||||
if 'api_key' not in self.kwargs.keys():
|
||||
if not self.kwargs.get('api_key', None):
|
||||
self.kwargs['api_key'] = password
|
||||
extensions = []
|
||||
if 'extensions' in kwargs:
|
||||
|
Loading…
Reference in New Issue
Block a user