Add restart colour

This commit is contained in:
Joshua Boniface 2018-06-13 12:59:18 -04:00
parent a3c6f22b02
commit 91259fc2b2
1 changed files with 2 additions and 1 deletions

View File

@ -253,8 +253,9 @@ def getInformationFromXML(zk, uuid, long_output):
ainformation.append('') ainformation.append('')
dstate_colour = { dstate_colour = {
'start': ansiiprint.green(), 'start': ansiiprint.green(),
'stop': ansiiprint.red(), 'restart': ansiiprint.yellow(),
'shutdown': ansiiprint.yellow(), 'shutdown': ansiiprint.yellow(),
'stop': ansiiprint.red(),
'migrate': ansiiprint.blue(), 'migrate': ansiiprint.blue(),
'unmigrate': ansiiprint.blue() 'unmigrate': ansiiprint.blue()
} }