Change colour of overprov state to yellow
This commit is contained in:
parent
ef8290370d
commit
bf5aa71381
2
pvc.py
2
pvc.py
|
@ -570,7 +570,7 @@ RAM (MiB): {node_mem_total: <6} {node_mem_used: <6} {node_mem_free: <6} {node_me
|
||||||
|
|
||||||
if node_mem_allocated[node_name] >= node_mem_total[node_name]:
|
if node_mem_allocated[node_name] >= node_mem_total[node_name]:
|
||||||
node_domain_state[node_name] = 'overprov'
|
node_domain_state[node_name] = 'overprov'
|
||||||
domain_state_colour = ansiiprint.red()
|
domain_state_colour = ansiiprint.yellow()
|
||||||
elif node_domain_state[node_name] == 'ready':
|
elif node_domain_state[node_name] == 'ready':
|
||||||
domain_state_colour = ansiiprint.green()
|
domain_state_colour = ansiiprint.green()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue