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

set reason_uid and reason_time when slurmctld is booted if the node is

set down based upon slurm.conf state.
parent 3f471012
No related branches found
No related tags found
No related merge requests found
......@@ -342,6 +342,8 @@ static int _handle_downnodes_line(slurm_conf_downnodes_t *down)
if (down->reason) {
xfree(node_rec->reason);
node_rec->reason = xstrdup(down->reason);
node_rec->reason_time = time(NULL);
node_rec->reason_uid = getuid();
}
free(alias);
}
......
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