Something weird going on with __opts__

This commit is contained in:
Colton Myers 2015-07-16 17:25:56 -06:00
parent 747ccaaa84
commit 6598b605d4

View File

@ -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