Skip to content

Commit

Permalink
Merge pull request #1616 from stgraber/ovn
Browse files Browse the repository at this point in the history
incusd/network/ovn: Fix bad route check
  • Loading branch information
hallyn authored Jan 30, 2025
2 parents 02856c6 + 96cba75 commit d3e648c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/network/ovn/ovn_nb_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -4074,7 +4074,7 @@ func (o *NB) DeleteLogicalRouterPeering(ctx context.Context, opts OVNRouterPeeri
}

// Skip over anything that's not tied to the current port.
if route.OutputPort != nil || *route.OutputPort != string(portName) {
if route.OutputPort == nil || *route.OutputPort != string(portName) {
continue
}

Expand Down

0 comments on commit d3e648c

Please sign in to comment.