mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #20123 from cvrebert/patch-4
etcd_return.get_load(): fix str.join() call
This commit is contained in:
commit
1a1fe2355f
@ -118,7 +118,7 @@ def get_load(jid):
|
||||
Return the load data that marks a specified jid
|
||||
'''
|
||||
client, path = _get_conn(__opts__)
|
||||
return json.loads(client.get('/'.join(path, 'jobs', jid, '.load.p')))
|
||||
return json.loads(client.get('/'.join((path, 'jobs', jid, '.load.p'))))
|
||||
|
||||
|
||||
def get_jid(jid):
|
||||
|
Loading…
Reference in New Issue
Block a user