From 898f0686b1197caf60e57cd95074ac9cc73a2239 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Tue, 13 Jun 2023 12:06:04 +0300 Subject: [PATCH] [#409] node: Log maintenance state on startup Signed-off-by: Dmitrii Stepanov --- cmd/frostfs-node/netmap.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/frostfs-node/netmap.go b/cmd/frostfs-node/netmap.go index c6623a3851..9d8ad6a9a5 100644 --- a/cmd/frostfs-node/netmap.go +++ b/cmd/frostfs-node/netmap.go @@ -267,6 +267,8 @@ func initNetmapState(c *cfg) { stateWord = "online" case ni.IsOffline(): stateWord = "offline" + case ni.IsMaintenance(): + stateWord = "maintenance" } }