Explicitly output JSON cluster data
This commit is contained in:
parent
a1e8cc5867
commit
c7992000eb
|
@ -102,7 +102,7 @@ def backup_cluster(zkhandler):
|
||||||
|
|
||||||
get_data('/')
|
get_data('/')
|
||||||
|
|
||||||
return cluster_data, 200
|
return json.dumps(cluster_data), 200
|
||||||
|
|
||||||
|
|
||||||
@ZKConnection(config)
|
@ZKConnection(config)
|
||||||
|
|
Loading…
Reference in New Issue