Skip to content

Commit

Permalink
add unchanged gw
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyufan2 committed Jan 22, 2025
1 parent 11604e6 commit a4d484f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cns/middlewares/k8sSwiftV2_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (k *K8sSWIFTv2Middleware) addRoutes(cidrs []string) []cns.Route {
for i, cidr := range cidrs {
ip, _, err := net.ParseCIDR(cidr)
if err != nil {
return "", errors.Wrap(err, "failed to parse cidr")
return nil
}
routes[i] = cns.Route{
IPAddress: cidr,
Expand Down

0 comments on commit a4d484f

Please sign in to comment.