Parse response message properly

This commit is contained in:
Joshua Boniface 2020-08-25 02:08:35 -04:00
parent 1dcc1f6d55
commit d210eef200
1 changed files with 1 additions and 1 deletions

View File

@ -1297,7 +1297,7 @@ def ceph_benchmark_list(config, job):
retdata = response.json()
else:
retvalue = False
retdata = response.json()
retdata = response.json().get('message', '')
return retvalue, retdata