Merge pull request #96301 from lixiaobing1/removeNoteCacheSync

remove comment for cache sync because code was removed
This commit is contained in:
Kubernetes Prow Robot 2020-11-06 07:58:59 -08:00 committed by GitHub
commit bf5382a53e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
pkg/scheduler/scheduler.go Normal file → Executable file
View File

@ -307,7 +307,7 @@ func initPolicyFromConfigMap(client clientset.Interface, policyRef *schedulerapi
return nil
}
// Run begins watching and scheduling. It waits for cache to be synced, then starts scheduling and blocked until the context is done.
// Run begins watching and scheduling. It starts scheduling and blocked until the context is done.
func (sched *Scheduler) Run(ctx context.Context) {
sched.SchedulingQueue.Run()
wait.UntilWithContext(ctx, sched.scheduleOne, 0)