mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #96301 from lixiaobing1/removeNoteCacheSync
remove comment for cache sync because code was removed
This commit is contained in:
commit
bf5382a53e
2
pkg/scheduler/scheduler.go
Normal file → Executable file
2
pkg/scheduler/scheduler.go
Normal file → Executable 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)
|
||||
|
Loading…
Reference in New Issue
Block a user