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

Clear the node's reason if it checks in from a DOWN state with the

return_to_service flag set.
parent 480e4ba9
No related branches found
No related tags found
No related merge requests found
......@@ -1119,6 +1119,7 @@ validate_node_specs (char *node_name, uint32_t cpus,
node_ptr->node_state = NODE_STATE_IDLE;
info ("validate_node_specs: node %s returned to service",
node_name);
xfree(node_ptr->reason);
resp_state = 1; /* just started responding */
} else if ((node_ptr->node_state == NODE_STATE_ALLOCATED) &&
(job_count == 0)) { /* job vanished */
......
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