Skip to content

Commit

Permalink
UnreachableParent: Don't stop recursion at unreachable redundancy groups
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Nov 28, 2024
1 parent 7f4bd9f commit e35544c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icingadb/Model/UnreachableParent.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private static function selectNodes(Connection $db, Model $root): Select
]);
$nodeQuery->filter(Filter::any(
Filter::equal('dependency.state.failed', 'y'),
Filter::equal('to.redundancy_group.state.failed', 'y')
Filter::equal('to.redundancy_group.state.is_reachable', 'n')
));

$nodeSelect = $nodeQuery->assembleSelect();
Expand Down

0 comments on commit e35544c

Please sign in to comment.