Fix incorrect cluster health calculation

This commit is contained in:
Joshua Boniface 2023-12-07 11:13:36 -05:00
parent 4bf80a5913
commit 61b39d0739
1 changed files with 1 additions and 1 deletions

View File

@ -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"],