Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: clyi <clyi@alauda.io>
  • Loading branch information
changluyi committed Jan 20, 2025
1 parent 256560d commit 4bd7410
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ require (
github.com/containerd/containerd v1.7.22
github.com/containernetworking/cni v1.2.3
github.com/containernetworking/plugins v1.6.0
github.com/docker/docker v27.5.0+incompatible
github.com/digitalocean/go-openvswitch v0.0.0-20240130171624-c0f7d42efe24
github.com/docker/docker v27.5.0+incompatible
github.com/emicklei/go-restful/v3 v3.12.1
github.com/evanphx/json-patch/v5 v5.9.0
github.com/go-logr/stdr v1.2.2
Expand Down
3 changes: 0 additions & 3 deletions pkg/controller/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,6 @@ func (c *Controller) checkServiceLBIPBelongToSubnet(svc *v1.Service) error {
break
}
}
if isServiceExternalIPFromSubnet {
break
}
}

if !isServiceExternalIPFromSubnet {
Expand Down

0 comments on commit 4bd7410

Please sign in to comment.