Fix bug with network stats
This commit is contained in:
parent
2fb7c40497
commit
9fdb6d8708
|
@ -158,9 +158,9 @@ def getNodeInformation(zkhandler, node_name):
|
||||||
zkhandler, node_name, node_health_plugins
|
zkhandler, node_name, node_health_plugins
|
||||||
)
|
)
|
||||||
|
|
||||||
if _node_network_stats is not None:
|
try:
|
||||||
node_network_stats = json.loads(_node_network_stats)
|
node_network_stats = json.loads(_node_network_stats)
|
||||||
else:
|
except Exception:
|
||||||
node_network_stats = dict()
|
node_network_stats = dict()
|
||||||
|
|
||||||
# Construct a data structure to represent the data
|
# Construct a data structure to represent the data
|
||||||
|
|
Loading…
Reference in New Issue