Parse response message properly

This commit is contained in:
Joshua Boniface 2020-08-25 02:08:35 -04:00
parent 1dcc1f6d55
commit d210eef200

View File

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