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