mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Double-check main_cloud_config
This commit is contained in:
parent
eeb05a1b10
commit
59c3081e49
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue