Parse response message properly
This commit is contained in:
parent
1dcc1f6d55
commit
d210eef200
|
@ -1297,7 +1297,7 @@ def ceph_benchmark_list(config, job):
|
||||||
retdata = response.json()
|
retdata = response.json()
|
||||||
else:
|
else:
|
||||||
retvalue = False
|
retvalue = False
|
||||||
retdata = response.json()
|
retdata = response.json().get('message', '')
|
||||||
|
|
||||||
return retvalue, retdata
|
return retvalue, retdata
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue