[#313] control: Rename HealthStatus enum to NetmapStatus

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-01-15 12:42:31 +03:00 committed by Alex Vanin
parent a89567a88d
commit 83d4420a30
16 changed files with 98 additions and 98 deletions

View file

@ -68,10 +68,10 @@ func initControlService(c *cfg) {
}))
}
func (c *cfg) setHealthStatus(st control.HealthStatus) {
func (c *cfg) setNetmapStatus(st control.NetmapStatus) {
c.healthStatus.Store(int32(st))
}
func (c *cfg) HealthStatus() control.HealthStatus {
return control.HealthStatus(c.healthStatus.Load())
func (c *cfg) NetmapStatus() control.NetmapStatus {
return control.NetmapStatus(c.healthStatus.Load())
}