Skip to content

Commit db3720f

Browse files
authored
fix(cluster): health record was updated
fixes: #136
1 parent bfba34b commit db3720f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

silverback/cluster/types.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,10 @@ class ServiceHealth(BaseModel):
307307

308308

309309
class ClusterHealth(BaseModel):
310-
ars: ServiceHealth = Field(exclude=True) # TODO: Replace w/ cluster
311-
ccs: ServiceHealth = Field(exclude=True) # TODO: Replace w/ cluster
310+
# TODO: Replace w/ cluster
311+
ccs: ServiceHealth
312+
# NOTE: network => healthy
313+
ars: dict[str, ServiceHealth] = {}
312314
bots: dict[str, ServiceHealth] = {}
313315

314316
@field_validator("bots", mode="before") # TODO: Fix so this is default

0 commit comments

Comments
 (0)