From 7c116b2fbcbd9729914bd1cadbb7dcf0bb3fba3e Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 10 Dec 2023 23:56:50 -0500 Subject: [PATCH] Ensure node health value is an int --- daemon-common/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon-common/cluster.py b/daemon-common/cluster.py index bad07f74..b6f587f7 100644 --- a/daemon-common/cluster.py +++ b/daemon-common/cluster.py @@ -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