Skip to content
Snippets Groups Projects
Commit 8245a307 authored by Morris Jette's avatar Morris Jette
Browse files

Fix bug in node info parsing with multiple DEFAULT values

This fixes a bug in parsing slurm.conf for node information if there
are more than one NodeName=DEFAULT value. This adds to existing default
values rather than clearing old default values that are not explicitly
set to new values on that configuration line.
parent a3ae51cd
No related branches found
No related tags found
No related merge requests found
......@@ -531,7 +531,7 @@ static int _parse_nodename(void **dest, slurm_parser_enum_t type,
}
if (default_nodename_tbl != NULL) {
s_p_hashtbl_merge(tbl, default_frontend_tbl);
s_p_hashtbl_merge(tbl, default_nodename_tbl);
s_p_hashtbl_destroy(default_nodename_tbl);
}
default_nodename_tbl = tbl;
......
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