mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
salt.utils.docker.translate_input: operate on deepcopy of kwargs
This keeps the translation from rewriting the low chunks and breaking the watch requisite.
This commit is contained in:
parent
da60399b8f
commit
a14d4daf8c
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ input as formatted by states.
|
|||
|
||||
# Import Python libs
|
||||
from __future__ import absolute_import
|
||||
import copy
|
||||
import logging
|
||||
import os
|
||||
|
||||
|
@ -174,7 +175,7 @@ def translate_input(**kwargs):
|
|||
have their translation skipped. Optionally, skip_translate can be set to
|
||||
True to skip *all* translation.
|
||||
'''
|
||||
kwargs = salt.utils.clean_kwargs(**kwargs)
|
||||
kwargs = copy.deepcopy(salt.utils.clean_kwargs(**kwargs))
|
||||
invalid = {}
|
||||
collisions = []
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue