mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #24944 from techhat/issue24915
Double-check main_cloud_config
This commit is contained in:
commit
a11e4c6eea
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