From 91259fc2b2f1b791f49a67ef61c3c4bfb8ece56d Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Wed, 13 Jun 2018 12:59:18 -0400 Subject: [PATCH] Add restart colour --- pvcf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pvcf.py b/pvcf.py index dcba15fa..5b5e1983 100644 --- a/pvcf.py +++ b/pvcf.py @@ -253,8 +253,9 @@ def getInformationFromXML(zk, uuid, long_output): ainformation.append('') dstate_colour = { 'start': ansiiprint.green(), - 'stop': ansiiprint.red(), + 'restart': ansiiprint.yellow(), 'shutdown': ansiiprint.yellow(), + 'stop': ansiiprint.red(), 'migrate': ansiiprint.blue(), 'unmigrate': ansiiprint.blue() }