mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #5134 from jlowdermilk/e2e
fix Errorf argument mismatch in test/e2e/util.go
This commit is contained in:
commit
0d6b57ccdb
@ -72,7 +72,7 @@ func waitForPodCondition(c *client.Client, ns, podName, desc string, condition p
|
|||||||
}
|
}
|
||||||
Logf("Waiting for pod %s status to be %q (found %q) (%d secs)", podName, api.PodRunning, pod.Status.Phase, time.Since(start).Seconds())
|
Logf("Waiting for pod %s status to be %q (found %q) (%d secs)", podName, api.PodRunning, pod.Status.Phase, time.Since(start).Seconds())
|
||||||
}
|
}
|
||||||
return fmt.Errorf("gave up waiting for pod %s to be %s after %v", podName, podStartTimeout)
|
return fmt.Errorf("gave up waiting for pod %s to be %s after %v", podName, desc, podStartTimeout)
|
||||||
}
|
}
|
||||||
|
|
||||||
func waitForPodRunning(c *client.Client, podName string) error {
|
func waitForPodRunning(c *client.Client, podName string) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user