mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
lint fix
This commit is contained in:
parent
1ddf8c584b
commit
59f5880e72
1 changed files with 2 additions and 1 deletions
|
@ -213,6 +213,7 @@ ioloop.install()
|
|||
import salt.netapi
|
||||
import salt.utils.args
|
||||
import salt.utils.event
|
||||
import salt.utils.jid
|
||||
import salt.utils.json
|
||||
import salt.utils.yaml
|
||||
from salt.utils.event import tagify
|
||||
|
@ -929,7 +930,7 @@ class SaltAPIHandler(BaseSaltAPIHandler): # pylint: disable=W0223
|
|||
Dispatch local client commands
|
||||
'''
|
||||
# Generate jid before triggering a job to subscribe all returns from minions
|
||||
chunk['jid'] = salt.utils.jid.gen_jid()
|
||||
chunk['jid'] = salt.utils.jid.gen_jid(self.application.opts)
|
||||
|
||||
# Subscribe returns from minions before firing a job
|
||||
future_minion_map = self.subscribe_minion_returns(chunk['jid'], chunk['tgt'])
|
||||
|
|
Loading…
Add table
Reference in a new issue