Skip to content

Commit

Permalink
fix(client): forgot it was a dict now
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Oct 21, 2024
1 parent db3720f commit f1a80c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion silverback/cluster/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,9 @@ 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):
Expand Down

0 comments on commit f1a80c1

Please sign in to comment.