forked from TrueCloudLab/frostfs-node
[#312] control: Define HealthStatus enum
Define enumeration of the statuses of storage node application. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
71fcbd3ed4
commit
0abb8acef3
3 changed files with 93 additions and 14 deletions
2
pkg/services/control/service.pb.go
generated
2
pkg/services/control/service.pb.go
generated
|
@ -306,7 +306,7 @@ type HealthCheckResponse_Body struct {
|
|||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Network map status of storage node.
|
||||
// Status of the storage node in NeoFS network map.
|
||||
NetmapStatus NetmapStatus `protobuf:"varint,1,opt,name=netmap_status,json=netmapStatus,proto3,enum=control.NetmapStatus" json:"netmap_status,omitempty"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue