Skip to content

Commit

Permalink
Remove superfluous methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal Lemire committed Nov 29, 2023
1 parent ba8ea58 commit 687c207
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions protocol/daemons/server/types/health_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,6 @@ func (ms *healthMonitorMutableState) Stop() {
ms.stopped = true
}

func (ms *healthMonitorMutableState) IsStopped() bool {
ms.Lock()
defer ms.Unlock()

return ms.stopped
}

func (ms *healthMonitorMutableState) IsDisabled() bool {
ms.Lock()
defer ms.Unlock()

return ms.disabled
}

// 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.
Expand Down

0 comments on commit 687c207

Please sign in to comment.