Add shutdown colour to output
This commit is contained in:
parent
0060c0313b
commit
80de40252b
|
@ -256,6 +256,8 @@ def getOutputColours(node_information):
|
||||||
daemon_state_colour = ansiprint.green()
|
daemon_state_colour = ansiprint.green()
|
||||||
elif node_information['daemon_state'] == 'stop':
|
elif node_information['daemon_state'] == 'stop':
|
||||||
daemon_state_colour = ansiprint.red()
|
daemon_state_colour = ansiprint.red()
|
||||||
|
elif node_information['daemon_state'] == 'shutdown':
|
||||||
|
daemon_state_colour = ansiprint.yellow()
|
||||||
elif node_information['daemon_state'] == 'init':
|
elif node_information['daemon_state'] == 'init':
|
||||||
daemon_state_colour = ansiprint.yellow()
|
daemon_state_colour = ansiprint.yellow()
|
||||||
elif node_information['daemon_state'] == 'dead':
|
elif node_information['daemon_state'] == 'dead':
|
||||||
|
|
Loading…
Reference in New Issue