diff --git a/daemon-common/cluster.py b/daemon-common/cluster.py index 2ea8b05f..631561bd 100644 --- a/daemon-common/cluster.py +++ b/daemon-common/cluster.py @@ -59,7 +59,7 @@ def getClusterHealthFromFaults(zkhandler): key=lambda x: (x["health_delta"], x["last_reported"]), reverse=True, ): - cluster_health_value = -fault["health_delta"] + cluster_health_value -= fault["health_delta"] message = { "id": fault["id"], "health_delta": fault["health_delta"],