Skip to content
Snippets Groups Projects
Commit 210b4c3e authored by Moe Jette's avatar Moe Jette
Browse files

Minor tweak for Maui support and failing nodes

parent 1248dbbf
No related branches found
No related tags found
No related merge requests found
...@@ -200,7 +200,8 @@ static char * _get_node_state(struct node_record *node_ptr) ...@@ -200,7 +200,8 @@ static char * _get_node_state(struct node_record *node_ptr)
uint16_t state = node_ptr->node_state; uint16_t state = node_ptr->node_state;
uint16_t base_state = state & NODE_STATE_BASE; uint16_t base_state = state & NODE_STATE_BASE;
if (state & NODE_STATE_DRAIN) if ((state & NODE_STATE_DRAIN)
|| (state & NODE_STATE_FAIL))
return "Draining"; return "Draining";
if (state & NODE_STATE_COMPLETING) if (state & NODE_STATE_COMPLETING)
return "Busy"; return "Busy";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment