Not interrupt the waitForPodsReady

Signed-off-by: z1cheng <imchench@gmail.com>
This commit is contained in:
z1cheng 2023-08-10 15:37:23 +00:00
parent f3e3b3c744
commit 733958ca85

View file

@ -154,7 +154,7 @@ func waitForPodsReady(kubeClientSet kubernetes.Interface, timeout time.Duration,
for i := range pl.Items {
isRunning, err := podRunningReady(&pl.Items[i])
if err != nil {
return false, err
Logf("error checking if pod is running : %v", err)
}
if isRunning {
r++