Merge pull request #1616 from kerthcet/refactor/remove-uncommentted-codes

refactor: remove commented codes
This commit is contained in:
karmada-bot 2022-04-15 17:37:56 +08:00 committed by GitHub
commit 0605417da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -97,8 +97,6 @@ func NewScheduler(dynamicClient dynamic.Interface, karmadaClient karmadaclientse
queue := workqueue.NewRateLimitingQueue(workqueue.DefaultControllerRateLimiter())
schedulerCache := schedulercache.NewCache(clusterLister)
// algorithm := core.NewGenericScheduler(schedulerCache, []string{clusteraffinity.Name, tainttoleration.Name, apiinstalled.Name, clusterlocality.Name, spreadconstraint.Name})
// TODO(kerthcet): make plugins configurable via config file
registry := frameworkplugins.NewInTreeRegistry()
algorithm, err := core.NewGenericScheduler(schedulerCache, registry)