Fix several issues on running syncPods until network is configured.

Also fixed unittests and compiling.
This commit is contained in:
Dawn Chen
2015-06-22 23:07:40 -07:00
parent 192ffdfb25
commit 23200d303f
7 changed files with 59 additions and 27 deletions

View File

@@ -21,7 +21,6 @@ import (
"fmt"
"reflect"
"sync"
"time"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
"github.com/GoogleCloudPlatform/kubernetes/pkg/client"
@@ -60,8 +59,6 @@ func (s *statusManager) Start() {
err := s.syncBatch()
if err != nil {
glog.Warningf("Failed to updated pod status: %v", err)
// Errors and tight-looping are bad, m-kay
time.Sleep(30 * time.Second)
}
}, 0)
}