mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Double-check main_cloud_config
This commit is contained in:
parent
eeb05a1b10
commit
59c3081e49
@ -1290,6 +1290,9 @@ class Cloud(object):
|
||||
except IOError:
|
||||
main_cloud_config = {}
|
||||
|
||||
if main_cloud_config is None:
|
||||
main_cloud_config = {}
|
||||
|
||||
profile_details = self.opts['profiles'][profile]
|
||||
alias, driver = profile_details['provider'].split(':')
|
||||
mapped_providers = self.map_providers_parallel()
|
||||
|
Loading…
Reference in New Issue
Block a user