Merge pull request #26868 from xiang90/rm_all

Automatic merge from submit-queue

daemon/controller.go: remove unused func enqueueAllDaemonSets
This commit is contained in:
k8s-merge-robot
2016-07-06 23:36:45 -07:00
committed by GitHub

View File

@@ -266,18 +266,6 @@ func (dsc *DaemonSetsController) runWorker() {
}
}
func (dsc *DaemonSetsController) enqueueAllDaemonSets() {
glog.V(4).Infof("Enqueueing all daemon sets")
ds, err := dsc.dsStore.List()
if err != nil {
glog.Errorf("Error enqueueing daemon sets: %v", err)
return
}
for i := range ds.Items {
dsc.enqueueDaemonSet(&ds.Items[i])
}
}
func (dsc *DaemonSetsController) enqueueDaemonSet(ds *extensions.DaemonSet) {
key, err := controller.KeyFunc(ds)
if err != nil {