Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comment nit.
Browse files Browse the repository at this point in the history
Crystal Lemire committed Nov 29, 2023
1 parent 687c207 commit e367785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/daemons/server/types/health_monitor.go
Original file line number Diff line number Diff line change
@@ -65,8 +65,8 @@ func (ms *healthMonitorMutableState) Stop() {
}

// RegisterHealthChecker registers a new health checker for a health checkable with the health monitor. The health
// checker is lazily created using the provided function. This method is synchronized. It returns an error if the
// service was already registered.
// checker is lazily created using the provided function if needed. This method is synchronized. It returns an error if
// the service was already registered.
func (ms *healthMonitorMutableState) RegisterHealthChecker(
checkable types.HealthCheckable,
lazyHealthCheckerCreator func() *healthChecker,

0 comments on commit e367785

Please sign in to comment.