Merge pull request #24944 from techhat/issue24915

Double-check main_cloud_config
This commit is contained in:
C. R. Oldham 2015-06-25 06:29:55 -06:00
commit a11e4c6eea

View file

@ -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()