mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Issue #16424: List all providers when creating salt-cloud instance without profile
For this purpose `self.opts['providers']` is as good as `mapper.map_providers_parallel()`
This commit is contained in:
parent
e6f9eec02e
commit
377015c881
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ class CloudClient(object):
|
|||
'delvol_on_destroy': True})
|
||||
'''
|
||||
mapper = salt.cloud.Map(self._opts_defaults())
|
||||
providers = mapper.map_providers_parallel()
|
||||
providers = self.opts['providers']
|
||||
if provider in providers:
|
||||
provider += ':{0}'.format(providers[provider].iterkeys().next())
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue