Revert "Sync all pods with store before starting RC Manager."

This reverts commit 1b93ee7b35.
This commit is contained in:
mqliang
2016-02-11 11:43:49 +08:00
parent 2d85c6e4b0
commit d802778c20
3 changed files with 0 additions and 59 deletions

View File

@@ -187,7 +187,6 @@ func (rm *ReplicationManager) SetEventRecorder(recorder record.EventRecorder) {
func (rm *ReplicationManager) Run(workers int, stopCh <-chan struct{}) {
defer utilruntime.HandleCrash()
glog.Infof("Starting RC Manager")
controller.SyncAllPodsWithStore(rm.kubeClient, rm.podStore.Store)
go rm.rcController.Run(stopCh)
go rm.podController.Run(stopCh)
for i := 0; i < workers; i++ {