mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #46839 from gtmanfred/tupletarget
match tuple for targets as well
This commit is contained in:
commit
9c776cffb7
1 changed files with 1 additions and 1 deletions
|
@ -1586,7 +1586,7 @@ def subdict_match(data,
|
|||
exact_match=exact_match):
|
||||
return True
|
||||
continue
|
||||
if isinstance(match, list):
|
||||
if isinstance(match, (list, tuple)):
|
||||
# We are matching a single component to a single list member
|
||||
for member in match:
|
||||
if isinstance(member, dict):
|
||||
|
|
Loading…
Add table
Reference in a new issue