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

BGQ - if the user can't communicate with the database don't make it a

fatal when no from the controller.
parent 6eb28847
No related branches found
No related tags found
No related merge requests found
...@@ -75,9 +75,14 @@ static void _setup_ba_mp(int level, uint16_t *coords, ...@@ -75,9 +75,14 @@ static void _setup_ba_mp(int level, uint16_t *coords,
Midplane::ConstPtr mp_ptr; Midplane::ConstPtr mp_ptr;
int i; int i;
if (!bgqsys) if (!bgqsys) {
fatal("_setup_ba_mp: No ComputeHardware ptr"); if (bg_recover != NOT_FROM_CONTROLLER)
fatal("_setup_ba_mp: No ComputeHardware ptr");
else {
error("_setup_ba_mp: can't talk to the database");
return;
}
}
if (level > SYSTEM_DIMENSIONS) if (level > SYSTEM_DIMENSIONS)
return; return;
......
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