[#409] node: Log maintenance state on startup

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-06-13 12:06:04 +03:00
parent 83d600ed77
commit 8f02b9c8c1

View file

@ -267,6 +267,8 @@ func initNetmapState(c *cfg) {
stateWord = "online"
case ni.IsOffline():
stateWord = "offline"
case ni.IsMaintenance():
stateWord = "maintenance"
}
}