Ensure node health value is an int
This commit is contained in:
parent
1023c55087
commit
7c116b2fbc
|
@ -240,7 +240,7 @@ def getNodeHealth(zkhandler, node_list):
|
|||
node_health_messages.append(f"'{entry['name']}': {entry['message']}")
|
||||
|
||||
node_health_entry = {
|
||||
"health": node_health_value,
|
||||
"health": int(node_health_value),
|
||||
"messages": node_health_messages,
|
||||
}
|
||||
node_health[node] = node_health_entry
|
||||
|
|
Loading…
Reference in New Issue