[#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

@ -16,11 +16,11 @@ type Server struct {
// HealthChecker is component interface for calculating
// the current health status of a node.
type HealthChecker interface {
// Must calculate and return current node health status.
// Must calculate and return current status of the node in NeoFS network map.
//
// If status can not be calculated for any reason,
// control.HealthStatus_STATUS_UNDEFINED should be returned.
HealthStatus() control.HealthStatus
NetmapStatus() control.NetmapStatus
}
// Option of the Server's constructor.