forked from TrueCloudLab/frostfs-node
[#409] node: Log maintenance state on startup
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
5e2fcec60f
commit
8aa5907e1b
1 changed files with 2 additions and 0 deletions
|
@ -295,6 +295,8 @@ func initNetmapState(c *cfg) {
|
|||
stateWord = "online"
|
||||
case ni.IsOffline():
|
||||
stateWord = "offline"
|
||||
case ni.IsMaintenance():
|
||||
stateWord = "maintenance"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue