Skip to content

Commit 8e94fc6

Browse files
committed
just for testing
1 parent 35a33ae commit 8e94fc6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cni/network/invoker_cns.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ func getRoutes(cnsRoutes []cns.Route, skipDefaultRoutes bool) ([]network.RouteIn
362362
}
363363

364364
gw := net.ParseIP(route.GatewayIPAddress)
365-
if skipDefaultRoutes {
366-
return nil, errors.Wrap(errInvalidGatewayIP, route.GatewayIPAddress)
367-
}
365+
// if gw == nil && skipDefaultRoutes {
366+
// return nil, errors.Wrap(errInvalidGatewayIP, route.GatewayIPAddress)
367+
// }
368368

369369
routes = append(routes,
370370
network.RouteInfo{

0 commit comments

Comments
 (0)