mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add opts to salt.utils.jid.gen_jid call in minion.py
This commit is contained in:
parent
79d071df9c
commit
34a17819ca
1 changed files with 1 additions and 1 deletions
|
@ -1915,7 +1915,7 @@ class Minion(MinionBase):
|
|||
if self.opts['cache_jobs']:
|
||||
# Local job cache has been enabled
|
||||
if ret['jid'] == 'req':
|
||||
ret['jid'] = salt.utils.jid.gen_jid()
|
||||
ret['jid'] = salt.utils.jid.gen_jid(self.opts)
|
||||
salt.utils.minion.cache_jobs(self.opts, ret['jid'], ret)
|
||||
|
||||
if not self.opts['pub_ret']:
|
||||
|
|
Loading…
Add table
Reference in a new issue