Change colour of overprov state to yellow

This commit is contained in:
Joshua Boniface 2018-06-19 17:37:42 -04:00
parent ef8290370d
commit bf5aa71381
1 changed files with 1 additions and 1 deletions

2
pvc.py
View File

@ -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: