mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Tell the master to only keep the external job cache if it is turned on
This commit is contained in:
parent
5f49a49a67
commit
096fe2cef0
@ -780,7 +780,7 @@ class AESFuncs(object):
|
|||||||
self.opts['hash_type'])
|
self.opts['hash_type'])
|
||||||
log.info('Got return from {id} for job {jid}'.format(**load))
|
log.info('Got return from {id} for job {jid}'.format(**load))
|
||||||
self.event.fire_event(load, load['jid'])
|
self.event.fire_event(load, load['jid'])
|
||||||
if not self.opts['job_cache']:
|
if not self.opts['job_cache'] or self.opts.get('ext_job_cache'):
|
||||||
return
|
return
|
||||||
jid_dir = salt.utils.jid_dir(
|
jid_dir = salt.utils.jid_dir(
|
||||||
load['jid'],
|
load['jid'],
|
||||||
|
Loading…
Reference in New Issue
Block a user