Merge pull request #20123 from cvrebert/patch-4

etcd_return.get_load(): fix str.join() call
This commit is contained in:
Thomas S Hatch 2015-01-27 14:33:29 -07:00
commit 1a1fe2355f

View File

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