mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Merge pull request #5272 from satnam6502/e2e
Fix status message in waitForPodCondition
This commit is contained in:
commit
18d1a1e70e
@ -71,7 +71,7 @@ func waitForPodCondition(c *client.Client, ns, podName, desc string, condition p
|
|||||||
if done {
|
if done {
|
||||||
return err
|
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())
|
return fmt.Errorf("gave up waiting for pod %s to be %s after %.2f seconds", podName, desc, podStartTimeout.Seconds())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user