mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Removed the chained copy
This commit is contained in:
parent
ad1150fad4
commit
6a0b5f7af3
@ -234,7 +234,7 @@ class CloudClient(object):
|
||||
if a.get('provider', '')]
|
||||
if providers:
|
||||
_providers = opts.get('providers', {})
|
||||
for provider in list(_providers)[:]:
|
||||
for provider in _providers.copy():
|
||||
if provider not in providers:
|
||||
_providers.pop(provider)
|
||||
return opts
|
||||
|
Loading…
Reference in New Issue
Block a user