From 97dc59fbd093ddb5e25fcaa3b05b90027211e5b3 Mon Sep 17 00:00:00 2001 From: ty-dc Date: Fri, 14 Jun 2024 09:54:02 +0800 Subject: [PATCH] debug xx Signed-off-by: ty-dc --- pkg/ipam/pool_selections.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ipam/pool_selections.go b/pkg/ipam/pool_selections.go index 1aa2854326..c0511df21f 100644 --- a/pkg/ipam/pool_selections.go +++ b/pkg/ipam/pool_selections.go @@ -41,7 +41,7 @@ func (i *ipam) getPoolCandidates(ctx context.Context, addArgs *models.IpamAddArg } else { hasSubnetsAnnotation := applicationinformers.HasSubnetsAnnotation(pod.Annotations) if hasSubnetsAnnotation { - return nil, fmt.Errorf("it's invalid to use '%s' or '%s' annotation when Auto-Pool feature is disabled", constant.AnnoSpiderSubnets, constant.AnnoSpiderSubnet) + return nil, fmt.Errorf("'%s' or '%s' annotation when Auto-Pool feature is disabled", constant.AnnoSpiderSubnets, constant.AnnoSpiderSubnet) } } }