From 9a60ea01f9fa9971ad3da0966c601acfb8f0df28 Mon Sep 17 00:00:00 2001 From: carlory Date: Wed, 12 Feb 2025 13:44:15 +0800 Subject: [PATCH] fix getPodMatches should call /runningpods endpoint --- test/e2e/node/kubelet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/node/kubelet.go b/test/e2e/node/kubelet.go index 7744de2593e..03f9dbc603b 100644 --- a/test/e2e/node/kubelet.go +++ b/test/e2e/node/kubelet.go @@ -67,7 +67,7 @@ const ( func getPodMatches(ctx context.Context, c clientset.Interface, nodeName string, podNamePrefix string, namespace string) sets.String { matches := sets.NewString() framework.Logf("Checking pods on node %v via /runningpods endpoint", nodeName) - runningPods, err := e2ekubelet.GetKubeletPods(ctx, c, nodeName) + runningPods, err := e2ekubelet.GetKubeletRunningPods(ctx, c, nodeName) if err != nil { framework.Logf("Error checking running pods on %v: %v", nodeName, err) return matches