[#409] node: Log maintenance state on startup
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
83d600ed77
commit
8f02b9c8c1
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