Print fenced state in red

This commit is contained in:
Joshua Boniface 2023-12-13 15:02:18 -05:00
parent 709c9cb73e
commit e88b97f3a9
1 changed files with 2 additions and 0 deletions

View File

@ -249,6 +249,8 @@ def getOutputColours(node_information):
daemon_state_colour = ansiprint.yellow()
elif node_information["daemon_state"] == "dead":
daemon_state_colour = ansiprint.red() + ansiprint.bold()
elif node_information["daemon_state"] == "fenced":
daemon_state_colour = ansiprint.red()
else:
daemon_state_colour = ansiprint.blue()