Add restart colour
This commit is contained in:
parent
a3c6f22b02
commit
91259fc2b2
3
pvcf.py
3
pvcf.py
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user