We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650220f commit 3eec87cCopy full SHA for 3eec87c
cmd/kube-scheduler/app/server.go
@@ -332,7 +332,8 @@ func getRecorderFactory(cc *schedulerserverconfig.CompletedConfig) profile.Recor
332
}
333
334
335
-// WithPlugin creates an Option based on plugin name and factory. This function is used to register out-of-tree plugins.
+// WithPlugin creates an Option based on plugin name and factory. Please don't remove this function: it is used to register out-of-tree plugins,
336
+// hence there are no references to it from the kubernetes scheduler code base.
337
func WithPlugin(name string, factory framework.PluginFactory) Option {
338
return func(registry framework.Registry) error {
339
return registry.Register(name, factory)
0 commit comments