Commit 68fff1a1 authored by Bobby (Babak) Salamat's avatar Bobby (Babak) Salamat

Remove scheduler config deprecated warning as the new component config is still in alpha

parent 92b81114
...@@ -144,9 +144,6 @@ func (o *Options) AddFlags(fs *pflag.FlagSet) { ...@@ -144,9 +144,6 @@ func (o *Options) AddFlags(fs *pflag.FlagSet) {
// ApplyTo applies the scheduler options to the given scheduler app configuration. // ApplyTo applies the scheduler options to the given scheduler app configuration.
func (o *Options) ApplyTo(c *schedulerappconfig.Config) error { 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 { if len(o.ConfigFile) == 0 {
c.ComponentConfig = o.ComponentConfig c.ComponentConfig = o.ComponentConfig
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment