mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix filter_by passing incorrect parameters to match functions
This commit is contained in:
parent
1116798f21
commit
e61ac75d6f
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ def filter_by(lookup, expr_form='compound', minion_id=None):
|
|||
for key in lookup:
|
||||
if minion_id and expr_funcs[expr_form](key, minion_id):
|
||||
return lookup[key]
|
||||
elif expr_funcs[expr_form](key, minion_id):
|
||||
elif expr_funcs[expr_form](key):
|
||||
return lookup[key]
|
||||
|
||||
return None
|
||||
|
|
Loading…
Add table
Reference in a new issue