mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Don't return sets, cast to lists
This commit is contained in:
parent
6ca9ba805a
commit
b6f1ddc9cc
@ -108,7 +108,7 @@ def get_jids():
|
|||||||
Return a list of all job ids
|
Return a list of all job ids
|
||||||
'''
|
'''
|
||||||
serv = _get_serv()
|
serv = _get_serv()
|
||||||
return serv.smembers('jids')
|
return list(serv.smembers('jids'))
|
||||||
|
|
||||||
|
|
||||||
def get_minions():
|
def get_minions():
|
||||||
@ -116,4 +116,4 @@ def get_minions():
|
|||||||
Return a list of minions
|
Return a list of minions
|
||||||
'''
|
'''
|
||||||
serv = _get_serv()
|
serv = _get_serv()
|
||||||
return serv.smembers('minions')
|
return list(serv.smembers('minions'))
|
||||||
|
Loading…
Reference in New Issue
Block a user