mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #16425 from stanvit/cloudclient_create_fix_16424
Issue #16424: List all providers when creating salt-cloud instance without profile
This commit is contained in:
commit
3e83730526
@ -365,7 +365,7 @@ class CloudClient(object):
|
|||||||
'delvol_on_destroy': True})
|
'delvol_on_destroy': True})
|
||||||
'''
|
'''
|
||||||
mapper = salt.cloud.Map(self._opts_defaults())
|
mapper = salt.cloud.Map(self._opts_defaults())
|
||||||
providers = mapper.map_providers_parallel()
|
providers = self.opts['providers']
|
||||||
if provider in providers:
|
if provider in providers:
|
||||||
provider += ':{0}'.format(providers[provider].keys()[0])
|
provider += ':{0}'.format(providers[provider].keys()[0])
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user