address code review comment

pull/7509/head
Medya Gh 2020-04-08 13:54:20 -07:00
parent 1f4bf22d4e
commit 2f84aa642f
1 changed files with 2 additions and 4 deletions

View File

@ -113,10 +113,8 @@ func WaitForAppsRunning(cs *kubernetes.Clientset, expected []string, timeout tim
checkRunning := func() (bool, error) {
if err := ExpectAppsRunning(cs, expected); err != nil {
if time.Since(start) > minLogCheckTime {
glog.Infof("error waiting for apps to be running: %v", err)
time.Sleep(kconst.APICallRetryInterval * 5)
}
glog.Infof("error waiting for apps to be running: %v", err)
time.Sleep(kconst.APICallRetryInterval * 5)
return false, nil
}
return true, nil