Commit f7a49195 authored by Jeff Lowdermilk's avatar Jeff Lowdermilk

fix Errorf argument mismatch in test/e2e/util.go

parent ca265c57
...@@ -72,7 +72,7 @@ func waitForPodCondition(c *client.Client, ns, podName, desc string, condition p ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment