Skip to content
Snippets Groups Projects
Commit c0caadca authored by Danny Auble's avatar Danny Auble
Browse files

BLUEGENE - if smap resolve is given a bad string and the slurmctld is up

just return a bad result instead of talk to the database.
parent b10b1518
No related branches found
No related tags found
No related merge requests found
...@@ -266,6 +266,11 @@ extern char *resolve_mp(char *desc, node_info_msg_t *node_info_ptr) ...@@ -266,6 +266,11 @@ extern char *resolve_mp(char *desc, node_info_msg_t *node_info_ptr)
if (ret_str) if (ret_str)
return ret_str; return ret_str;
} }
if (desc[0] != 'R')
ret_str = xstrdup_printf("%s has no resolve\n", name);
else
ret_str = xstrdup_printf("%s has no resolve.\n", desc);
return ret_str;
} }
bg_configure_ba_setup_wires(); bg_configure_ba_setup_wires();
......
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