mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Make --list-profiles argument more intuitive
This commit is contained in:
parent
e1b39609c5
commit
2bf14442fc
@ -519,7 +519,7 @@ class Cloud(object):
|
||||
providers = info.get('provider')
|
||||
|
||||
if providers:
|
||||
prov_name = providers.split(':')[1]
|
||||
prov_name = providers.split(':')[0]
|
||||
profiles.add((alias, prov_name))
|
||||
|
||||
if prov_name == provider:
|
||||
|
Loading…
Reference in New Issue
Block a user