mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Properly detect use of the state.orch alias and add orch jid to kwargs
Before, only when `salt-run state.orchestrate` was used would we add the orch jid to the kwargs.
This commit is contained in:
parent
1fcbbd1e02
commit
e0940a9fc4
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ class Runner(RunnerClient):
|
|||
async_pub = self._gen_async_pub()
|
||||
self.jid = async_pub['jid']
|
||||
|
||||
if low['fun'] == 'state.orchestrate':
|
||||
if low['fun'] in ('state.orchestrate', 'state.orch'):
|
||||
low['kwarg']['orchestration_jid'] = async_pub['jid']
|
||||
|
||||
# Run the runner!
|
||||
|
|
Loading…
Add table
Reference in a new issue