From d210eef2004d2143e41d93320684d46ad0faa233 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 25 Aug 2020 02:08:35 -0400 Subject: [PATCH] Parse response message properly --- client-cli/cli_lib/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-cli/cli_lib/ceph.py b/client-cli/cli_lib/ceph.py index bdd9ff4e..19dda709 100644 --- a/client-cli/cli_lib/ceph.py +++ b/client-cli/cli_lib/ceph.py @@ -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