Skip to content

Commit a4d484f

Browse files
committed
add unchanged gw
1 parent 11604e6 commit a4d484f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/middlewares/k8sSwiftV2_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (k *K8sSWIFTv2Middleware) addRoutes(cidrs []string) []cns.Route {
7474
for i, cidr := range cidrs {
7575
ip, _, err := net.ParseCIDR(cidr)
7676
if err != nil {
77-
return "", errors.Wrap(err, "failed to parse cidr")
77+
return nil
7878
}
7979
routes[i] = cns.Route{
8080
IPAddress: cidr,

0 commit comments

Comments
 (0)