Skip to content

Commit 2f78a4d

Browse files
committed
set run to true in RunCheckers()
1 parent 489f47f commit 2f78a4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: health/health.go

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ func (h *Health) runChecker(checker *healthIndicator) {
111111
// RunCheckers runs all the health checks, one every frequency/count seconds.
112112
func (h *Health) RunCheckers(frequency int) {
113113
nextIndex := 0
114+
h.run = true
114115

115116
h.Lock()
116117
count := len(h.Checks) + 1 // ensure we are at least 1

0 commit comments

Comments
 (0)