Fix status message in waitForPodConidition

This commit is contained in:
Satnam Singh 2015-03-10 16:06:03 -07:00
parent d8c6e3466e
commit cef905a7b2

View File

@ -70,7 +70,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())
}