Skip to content

Commit 636aebc

Browse files
authored
fix (#5200)
Signed-off-by: clyi <clyi@alauda.io>
1 parent e624949 commit 636aebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ovs/ovn-nb-logical_router_route.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ func (c *OVNNbClient) batchListLogicalRouterStaticRoutesForDelete(staticRoutes m
497497
}
498498

499499
if route.Policy == nil {
500-
return false
500+
route.Policy = &ovnnb.LogicalRouterStaticRoutePolicyDstIP
501501
}
502502

503503
key := createStaticRouteKey(route.RouteTable, *route.Policy, route.IPPrefix)

0 commit comments

Comments
 (0)