address code review comment
parent
1f4bf22d4e
commit
2f84aa642f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue