Skip to content

Commit

Permalink
Update images/kindnetd/cmd/kindnetd/routes.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lubomir I. Ivanov <[email protected]>
  • Loading branch information
chrischdi and neolit123 authored Sep 26, 2022
1 parent 2d52636 commit 81cede9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/kindnetd/cmd/kindnetd/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func syncRoute(podCIDR string, gw net.IP) error {

// Check if the route exists to the other node's PodCIDR and delete invalid routes
for _, route := range routes {
// Skip creation of a route if there is gateway matches the expected.
// Skip creation of a route if there is gateway which matches the expected.
if route.Gw.Equal(gw) {
return nil
}
Expand Down

0 comments on commit 81cede9

Please sign in to comment.