mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add inline comment about popping expect_minions
This commit is contained in:
parent
b615ce1762
commit
272dcc6ba5
1 changed files with 3 additions and 0 deletions
|
@ -1582,6 +1582,9 @@ class LocalClient(object):
|
|||
timeout=timeout,
|
||||
tgt=tgt,
|
||||
tgt_type=tgt_type,
|
||||
# (gtmanfred) expect_minions is popped here incase it is passed from a client
|
||||
# call. If this is not popped, then it would be passed twice to
|
||||
# get_iter_returns.
|
||||
expect_minions=(kwargs.pop('expect_minions', False) or verbose or show_timeout),
|
||||
**kwargs
|
||||
):
|
||||
|
|
Loading…
Add table
Reference in a new issue