Skip to content

Commit

Permalink
Flag metrics as already registered in healthcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo J. Ortega U <5791035+ejortegau@users.noreply.github.com>
  • Loading branch information
ejortegau committed Oct 17, 2024
1 parent bfbc3aa commit 9475c5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/vt/discovery/healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,8 @@ func (hc *HealthCheckImpl) RegisterStats() {
"HealthcheckChecksum",
"crc32 checksum of the current healthcheck state",
hc.stateChecksum)

hc.statsRegistered = true
}
}

Expand Down

0 comments on commit 9475c5e

Please sign in to comment.