From 1aaa599e6f89ce8c1f287c0a2c6fe70137d75f61 Mon Sep 17 00:00:00 2001 From: El De-dog-lo <3859395+fubuloubu@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:34:19 -0400 Subject: [PATCH] fix(client): forgot it was a dict now --- silverback/cluster/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/silverback/cluster/types.py b/silverback/cluster/types.py index 4458a142..b0ffdb8d 100644 --- a/silverback/cluster/types.py +++ b/silverback/cluster/types.py @@ -319,7 +319,7 @@ def convert_bot_health(cls, bots): @computed_field def cluster(self) -> ServiceHealth: - return ServiceHealth(healthy=self.ars.healthy and self.ccs.healthy) + return ServiceHealth(healthy=all(ars.healthy for ars in self.ars.values()) and self.ccs.healthy) class RegistryCredentialsInfo(BaseModel):