From 189d6d726bfaee1f10f86a985deac44d3c754116 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Fri, 15 Aug 2025 11:29:53 -0700 Subject: [PATCH] fix formatting of deprecation warning in test/e2e/framework.WaitForServiceEndpointsNum "// Deprecated:" needs to be in it's own paragraph --- test/e2e/framework/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index ba6a7c77d10..b47c9ae5a9d 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -413,6 +413,7 @@ func CheckTestingNSDeletedExcept(ctx context.Context, c clientset.Interface, ski // WaitForServiceEndpointsNum waits until there are EndpointSlices for serviceName // containing a total of expectNum endpoints. (If the service is dual-stack, expectNum // must count the endpoints of both IP families.) +// // Deprecated: use e2eendpointslice.WaitForEndpointCount or other related functions. func WaitForServiceEndpointsNum(ctx context.Context, c clientset.Interface, namespace, serviceName string, expectNum int, interval, timeout time.Duration) error { return wait.PollUntilContextTimeout(ctx, interval, timeout, false, func(ctx context.Context) (bool, error) {