mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
use scheduler.Option in initTestSchedulerWithOptions
This commit is contained in:
@@ -181,7 +181,7 @@ func New(client clientset.Interface,
|
||||
registry framework.Registry,
|
||||
plugins *kubeschedulerconfig.Plugins,
|
||||
pluginConfig []kubeschedulerconfig.PluginConfig,
|
||||
opts ...func(o *schedulerOptions)) (*Scheduler, error) {
|
||||
opts ...Option) (*Scheduler, error) {
|
||||
|
||||
options := defaultSchedulerOptions
|
||||
for _, opt := range opts {
|
||||
|
||||
Reference in New Issue
Block a user