Skip to content

Commit 97db2d0

Browse files
committed
regression: only run checks for specified target
1 parent 17c66b5 commit 97db2d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/healthchecks.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ func (box Box) RunChecks() ([]CheckResult, error) {
7272
continue
7373
}
7474

75+
if event.Target != s.Id && event.Target != eventTargetAll {
76+
continue
77+
}
78+
7579
checker := checkers[event.Type]
7680
if checker.checkFunc == nil {
7781
boxLogger.Warnf("ignoring unknown event type %s", event.Type)

0 commit comments

Comments
 (0)