diff --git a/pkg/ipam/ipam.go b/pkg/ipam/ipam.go index 68f18f34b559..1def30ff268f 100644 --- a/pkg/ipam/ipam.go +++ b/pkg/ipam/ipam.go @@ -141,7 +141,7 @@ func checkAndAppendIpsForDual(ips []IP, mac, podName, nicName string, subnet *Su klog.Error(err) return nil, err } - return newIps, err + return newIps, nil } func (ipam *IPAM) ReleaseAddressByPod(podName, subnetName string) {