mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-21 08:47:16 +00:00
fix getPodMatches should call /runningpods endpoint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user