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

consider a node in FAIL state as draining for moab

parent 3611cf9f
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,8 @@ static char * _get_node_state(struct node_record *node_ptr)
uint16_t state = node_ptr->node_state;
uint16_t base_state = state & (~NODE_STATE_FLAGS);
if (state & NODE_STATE_DRAIN)
if ((state & NODE_STATE_DRAIN)
|| (state & NODE_STATE_FAIL))
return "Draining";
if (state & NODE_STATE_COMPLETING)
return "Running";
......
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