mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
libcloud_dns: copy args before deleting from them
This commit is contained in:
parent
ba6146250a
commit
a68d594e3a
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def __init__(opts):
|
|||
def _get_driver(profile):
|
||||
config = __salt__['config.option']('libcloud_dns')[profile]
|
||||
cls = get_driver(config['driver'])
|
||||
args = config
|
||||
args = config.copy()
|
||||
del args['driver']
|
||||
args['key'] = config.get('key')
|
||||
args['secret'] = config.get('secret', None)
|
||||
|
|
Loading…
Add table
Reference in a new issue