Merge pull request #5272 from satnam6502/e2e

Fix status message in waitForPodCondition
This commit is contained in:
Zach Loafman 2015-03-11 13:10:20 -07:00
commit 18d1a1e70e

View File

@ -71,7 +71,7 @@ func waitForPodCondition(c *client.Client, ns, podName, desc string, condition p
if done {
return err
}
Logf("Waiting for pod %s status to be %q (found %q) (%.2f seconds)", podName, api.PodRunning, pod.Status.Phase, time.Since(start).Seconds())
Logf("Waiting for pod %s status to be %q (found %q) (%.2f seconds)", podName, desc, pod.Status.Phase, time.Since(start).Seconds())
}
return fmt.Errorf("gave up waiting for pod %s to be %s after %.2f seconds", podName, desc, podStartTimeout.Seconds())
}