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 cbe7c6e commit 37efa75Copy full SHA for 37efa75
cmd/kube-scheduler/app/options/options.go
@@ -174,6 +174,9 @@ func (o *Options) ApplyTo(c *schedulerappconfig.Config) error {
174
if err != nil {
175
return err
176
}
177
+ if err := validation.ValidateKubeSchedulerConfiguration(cfg).ToAggregate(); err != nil {
178
+ return err
179
+ }
180
181
// use the loaded config file only, with the exception of --address and --port. This means that
182
// none of the deprecated flags in o.Deprecated are taken into consideration. This is the old
0 commit comments