mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
if expect_minions is passed use that instead
In the salt/states/saltmod.py, we set expect minions sometimes and pass that through. In this instance, we should use the expect_minions that is passed so that it does not get passed along twice.
This commit is contained in:
parent
6252f82f58
commit
b615ce1762
1 changed files with 1 additions and 1 deletions
|
@ -1582,7 +1582,7 @@ class LocalClient(object):
|
|||
timeout=timeout,
|
||||
tgt=tgt,
|
||||
tgt_type=tgt_type,
|
||||
expect_minions=(verbose or show_timeout),
|
||||
expect_minions=(kwargs.pop('expect_minions', False) or verbose or show_timeout),
|
||||
**kwargs
|
||||
):
|
||||
log.debug('return event: %s', ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue