mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #45935 from rallytime/bp-45742
Back-port #45742 to 2017.7.3
This commit is contained in:
commit
0d74151c71
@ -234,7 +234,7 @@ class CloudClient(object):
|
|||||||
if a.get('provider', '')]
|
if a.get('provider', '')]
|
||||||
if providers:
|
if providers:
|
||||||
_providers = opts.get('providers', {})
|
_providers = opts.get('providers', {})
|
||||||
for provider in list(_providers).copy():
|
for provider in _providers.copy():
|
||||||
if provider not in providers:
|
if provider not in providers:
|
||||||
_providers.pop(provider)
|
_providers.pop(provider)
|
||||||
return opts
|
return opts
|
||||||
|
Loading…
Reference in New Issue
Block a user