[#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 committed by Evgenii Stratonikov
parent 957a43a124
commit 898f0686b1

View file

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