From 68fff1a1fc4d8c0daf35fa47c94c203d5830cbf6 Mon Sep 17 00:00:00 2001 From: "Bobby (Babak) Salamat" Date: Mon, 2 Jul 2018 16:51:05 -0700 Subject: [PATCH] Remove scheduler config deprecated warning as the new component config is still in alpha --- cmd/kube-scheduler/app/options/options.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/kube-scheduler/app/options/options.go b/cmd/kube-scheduler/app/options/options.go index 431354d61c..89e27b7462 100644 --- a/cmd/kube-scheduler/app/options/options.go +++ b/cmd/kube-scheduler/app/options/options.go @@ -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