Skip to content

Commit dc1076b

Browse files
VinozzZrobbkidd
andauthored
Update collect/collect.go
Co-authored-by: Robb Kidd <[email protected]>
1 parent 244de05 commit dc1076b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

collect/collect.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,7 @@ func (i *InMemCollector) monitor() {
368368
select {
369369
case <-ticker.Chan():
370370
// Check worker health and report aggregated status
371-
allWorkersHealthy := i.checkWorkersHealth()
372-
i.Health.Ready(collectorHealthKey, allWorkersHealthy)
371+
i.Health.Ready(collectorHealthKey, i.checkWorkersHealth())
373372

374373
// Aggregate metrics
375374
totalIncoming := 0

0 commit comments

Comments
 (0)