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

pull/8/head
Bobby (Babak) Salamat 2018-07-02 16:51:05 -07:00
parent 92b81114f4
commit 68fff1a1fc
1 changed files with 0 additions and 3 deletions

View File

@ -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