mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-08-08 23:37:11 +00:00
Fix typo and remove default scheduler config
This commit is contained in:
committed by
rafaelbreno[commit]
parent
a2c39f1583
commit
0678fddaf1
@@ -87,10 +87,6 @@ type Option func(runtime.Registry) error
|
||||
|
||||
// NewSchedulerCommand creates a *cobra.Command object with default parameters and registryOptions
|
||||
func NewSchedulerCommand(stopCh <-chan struct{}, registryOptions ...Option) *cobra.Command {
|
||||
// explicitly register (if not already registered) the kube effective version and feature gate in DefaultComponentGlobalsRegistry,
|
||||
// which will be used in NewOptions.
|
||||
_, _ = s.De.DefaultComponentGlobalsRegistry.ComponentGlobalsOrRegister(
|
||||
featuregate.DefaultKubeComponent, utilversion.DefaultBuildEffectiveVersion(), utilfeature.DefaultMutableFeatureGate)
|
||||
opts := options.NewOptions()
|
||||
|
||||
cmd := &cobra.Command{
|
||||
|
||||
Reference in New Issue
Block a user