mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
This commit is contained in:
parent
f16027d30e
commit
dd3ca0ecb0
1 changed files with 2 additions and 1 deletions
|
@ -218,7 +218,8 @@ def clean_old_jobs():
|
|||
load_key = ret_key.replace('ret:', 'load:', 1)
|
||||
if load_key not in living_jids:
|
||||
to_remove.append(ret_key)
|
||||
serv.delete(*to_remove)
|
||||
if len(to_remove) != 0:
|
||||
serv.delete(*to_remove)
|
||||
|
||||
|
||||
def prep_jid(nocache=False, passed_jid=None): # pylint: disable=unused-argument
|
||||
|
|
Loading…
Add table
Reference in a new issue