Skip to content

Commit

Permalink
debug xx
Browse files Browse the repository at this point in the history
Signed-off-by: ty-dc <[email protected]>
  • Loading branch information
ty-dc committed Jun 14, 2024
1 parent 669c255 commit 03b7f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ipam/pool_selections.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 03b7f3f

Please sign in to comment.