mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Add arg to returner call
This commit is contained in:
parent
789da29075
commit
fc7ad1d31e
@ -32,7 +32,7 @@ def store_job(opts, load, event=None, mminion=None):
|
||||
elif salt.utils.jid.is_jid(load['jid']):
|
||||
# Store the jid
|
||||
jidstore_fstr = '{0}.prep_jid'.format(opts['master_job_cache'])
|
||||
mminion.returners[jidstore_fstr](passed_jid=load['jid'])
|
||||
mminion.returners[jidstore_fstr](False, passed_jid=load['jid'])
|
||||
if event:
|
||||
# If the return data is invalid, just ignore it
|
||||
log.info('Got return from {id} for job {jid}'.format(**load))
|
||||
|
Loading…
Reference in New Issue
Block a user