From 80de40252bcdf9365f0602a982d13df2b1ba54bb Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 19 Jun 2019 14:28:04 -0400 Subject: [PATCH] Add shutdown colour to output --- client-common/node.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client-common/node.py b/client-common/node.py index 93da938a..40208750 100644 --- a/client-common/node.py +++ b/client-common/node.py @@ -256,6 +256,8 @@ def getOutputColours(node_information): daemon_state_colour = ansiprint.green() elif node_information['daemon_state'] == 'stop': daemon_state_colour = ansiprint.red() + elif node_information['daemon_state'] == 'shutdown': + daemon_state_colour = ansiprint.yellow() elif node_information['daemon_state'] == 'init': daemon_state_colour = ansiprint.yellow() elif node_information['daemon_state'] == 'dead':