From c7992000eb12556059a7f755bb583370ade3e1ab Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 30 May 2021 23:50:42 -0400 Subject: [PATCH] Explicitly output JSON cluster data --- api-daemon/pvcapid/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/helper.py b/api-daemon/pvcapid/helper.py index 4a628f69..9d4614da 100755 --- a/api-daemon/pvcapid/helper.py +++ b/api-daemon/pvcapid/helper.py @@ -102,7 +102,7 @@ def backup_cluster(zkhandler): get_data('/') - return cluster_data, 200 + return json.dumps(cluster_data), 200 @ZKConnection(config)