From d20de736ea5801859f8f8134a467eba05051fb40 Mon Sep 17 00:00:00 2001 From: bobz965 Date: Wed, 24 Jul 2024 19:20:16 +0800 Subject: [PATCH] Update pkg/ipam/ipam.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 张祖建 --- pkg/ipam/ipam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ipam/ipam.go b/pkg/ipam/ipam.go index 1def30ff268f..e3bffce628d4 100644 --- a/pkg/ipam/ipam.go +++ b/pkg/ipam/ipam.go @@ -372,7 +372,7 @@ func (ipam *IPAM) IsIPAssignedToOtherPod(ip, subnetName, podName string) (string subnet, ok := ipam.Subnets[subnetName] if !ok { - klog.Warningf("failed to get subnet %s", subnetName) + klog.Warningf("subnet %q not found", subnetName) return "", false } return subnet.isIPAssignedToOtherPod(ip, podName)