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 b84062d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silverback/cluster/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit b84062d

Please sign in to comment.