mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #78687 from pohly/WaitForPodsWithLabelRunningReady
e2e: fix return value of WaitForPodsWithLabelRunningReady
This commit is contained in:
commit
0e499be526
@ -534,7 +534,7 @@ func WaitForPodsWithLabelRunningReady(c clientset.Interface, ns string, label la
|
|||||||
var current int
|
var current int
|
||||||
err = wait.Poll(poll, timeout,
|
err = wait.Poll(poll, timeout,
|
||||||
func() (bool, error) {
|
func() (bool, error) {
|
||||||
pods, err := WaitForPodsWithLabel(c, ns, label)
|
pods, err = WaitForPodsWithLabel(c, ns, label)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Logf("Failed to list pods: %v", err)
|
e2elog.Logf("Failed to list pods: %v", err)
|
||||||
if testutils.IsRetryableAPIError(err) {
|
if testutils.IsRetryableAPIError(err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user