mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
When looking for job ids to remove based on the tag_name the comparision was comparing an INT to a STR, so the correct job id was not being returned.
This commit is contained in:
parent
f2f6817e86
commit
99e436add4
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ def atrm(*args):
|
|||
ret = {'jobs': {'removed': opts, 'tag': None}}
|
||||
else:
|
||||
opts = list(list(map(str, [i['job'] for i in atq()['jobs']
|
||||
if i['job'] in args])))
|
||||
if str(i['job']) in args])))
|
||||
ret = {'jobs': {'removed': opts, 'tag': None}}
|
||||
|
||||
# Shim to produce output similar to what __virtual__() should do
|
||||
|
|
Loading…
Add table
Reference in a new issue