Ensure node health value is an int

This commit is contained in:
Joshua Boniface 2023-12-10 23:56:50 -05:00
parent 1023c55087
commit 7c116b2fbc
1 changed files with 1 additions and 1 deletions

View File

@ -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