Commit bc60b540 authored by Alex Robinson's avatar Alex Robinson

Merge pull request #5386 from vmarmol/fix

Use time.Sleep() instead of <-time.After().
parents c03b0803 f9d2ab6e
......@@ -112,7 +112,7 @@ func (kl *Kubelet) runPod(pod api.BoundPod) error {
}
// TODO(proppy): health checking would be better than waiting + checking the state at the next iteration.
glog.Infof("pod %q containers synced, waiting for %v", pod.Name, delay)
<-time.After(delay)
time.Sleep(delay)
retry++
delay *= RunOnceRetryDelayBackoff
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment