Typo'd ==

This commit is contained in:
Joshua Boniface 2018-06-19 17:36:54 -04:00
parent 88c3ca45b8
commit ef8290370d
1 changed files with 1 additions and 1 deletions

2
pvc.py
View File

@ -569,7 +569,7 @@ RAM (MiB): {node_mem_total: <6} {node_mem_used: <6} {node_mem_free: <6} {node_me
daemon_state_colour = ansiiprint.blue() daemon_state_colour = ansiiprint.blue()
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.red()
elif node_domain_state[node_name] == 'ready': elif node_domain_state[node_name] == 'ready':
domain_state_colour = ansiiprint.green() domain_state_colour = ansiiprint.green()