Skip to content

Commit 4bd7410

Browse files
committed
fix
Signed-off-by: clyi <[email protected]>
1 parent 256560d commit 4bd7410

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ require (
1212
github.com/containerd/containerd v1.7.22
1313
github.com/containernetworking/cni v1.2.3
1414
github.com/containernetworking/plugins v1.6.0
15-
github.com/docker/docker v27.5.0+incompatible
1615
github.com/digitalocean/go-openvswitch v0.0.0-20240130171624-c0f7d42efe24
16+
github.com/docker/docker v27.5.0+incompatible
1717
github.com/emicklei/go-restful/v3 v3.12.1
1818
github.com/evanphx/json-patch/v5 v5.9.0
1919
github.com/go-logr/stdr v1.2.2

pkg/controller/service.go

-3
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,6 @@ func (c *Controller) checkServiceLBIPBelongToSubnet(svc *v1.Service) error {
540540
break
541541
}
542542
}
543-
if isServiceExternalIPFromSubnet {
544-
break
545-
}
546543
}
547544

548545
if !isServiceExternalIPFromSubnet {

0 commit comments

Comments
 (0)