mirror of https://github.com/k3s-io/k3s
Remove scheduler config deprecated warning as the new component config is still in alpha
parent
92b81114f4
commit
68fff1a1fc
|
@ -144,9 +144,6 @@ func (o *Options) AddFlags(fs *pflag.FlagSet) {
|
|||
|
||||
// ApplyTo applies the scheduler options to the given scheduler app configuration.
|
||||
func (o *Options) ApplyTo(c *schedulerappconfig.Config) error {
|
||||
if len(o.ConfigFile) == 0 && len(o.WriteConfigTo) == 0 {
|
||||
glog.Warning("WARNING: all flags other than --config, --write-config-to, and --cleanup are deprecated. Please begin using a config file ASAP.")
|
||||
}
|
||||
if len(o.ConfigFile) == 0 {
|
||||
c.ComponentConfig = o.ComponentConfig
|
||||
|
||||
|
|
Loading…
Reference in New Issue