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

BGQ - make sure we look at cables that exist ;)

parent 47397dcd
No related branches found
No related tags found
No related merge requests found
...@@ -609,8 +609,12 @@ static void _handle_midplane_update(ComputeHardware::ConstPtr bgq, ...@@ -609,8 +609,12 @@ static void _handle_midplane_update(ComputeHardware::ConstPtr bgq,
my_switch->getState()); my_switch->getState());
else { else {
Cable::ConstPtr my_cable = my_switch->getCable(); Cable::ConstPtr my_cable = my_switch->getCable();
_handle_cable_change(dim, ba_mp, /* Dimensions of length 1 do not have a
my_cable->getState()); cable. (duh).
*/
if (my_cable)
_handle_cable_change(dim, ba_mp,
my_cable->getState());
} }
} }
} }
......
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