From e88b97f3a99199225af4789f1bedb16d4f4eef38 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 13 Dec 2023 15:02:18 -0500 Subject: [PATCH] Print fenced state in red --- client-cli/pvc/lib/node.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client-cli/pvc/lib/node.py b/client-cli/pvc/lib/node.py index befb1c5d..fe5342ab 100644 --- a/client-cli/pvc/lib/node.py +++ b/client-cli/pvc/lib/node.py @@ -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()