mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Something weird going on with __opts__
This commit is contained in:
parent
747ccaaa84
commit
6598b605d4
@ -256,10 +256,9 @@ def get_jids():
|
||||
for jid, job, _, _ in _walk_through(_job_dir()):
|
||||
ret[jid] = salt.utils.jid.format_jid_instance(jid, job)
|
||||
|
||||
if __opts__.get['job_cache_store_endtime']:
|
||||
endtime = get_endtime(jid)
|
||||
if endtime:
|
||||
ret[jid]['EndTime'] = endtime
|
||||
endtime = get_endtime(jid)
|
||||
if endtime:
|
||||
ret[jid]['EndTime'] = endtime
|
||||
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user