Merge pull request #1616 from kerthcet/refactor/remove-uncommentted-codes
refactor: remove commented codes
This commit is contained in:
commit
0605417da3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue