Skip to content

Commit

Permalink
handle null *route (cloudnativelabs#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
murali-reddy authored May 12, 2019
1 parent 8bb50d5 commit d6a93d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controllers/routing/network_routes_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ func (nrc *NetworkRoutingController) injectRoute(path *table.Path) error {
Gw: nexthop,
Protocol: 0x11,
}
} else {
return nil
}

if path.IsWithdraw {
Expand Down

0 comments on commit d6a93d4

Please sign in to comment.