Skip to content

Commit b1cce5d

Browse files
authored
Merge pull request #1448 from jaychenthinkfast/patch-2
Update options.go
2 parents 73e9efe + 5c8803d commit b1cce5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/descheduler/app/options/options.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func newDefaultComponentConfig() (*componentconfig.DeschedulerConfiguration, err
8484

8585
// AddFlags adds flags for a specific SchedulerServer to the specified FlagSet
8686
func (rs *DeschedulerServer) AddFlags(fs *pflag.FlagSet) {
87-
fs.StringVar(&rs.Logging.Format, "logging-format", "text", `Sets the log format. Permitted formats: "text", "json". Non-default formats don't honor these flags: --add-dir-header, --alsologtostderr, --log-backtrace-at, --log_dir, --log_file, --log_file_max_size, --logtostderr, --skip-headers, --skip-log-headers, --stderrthreshold, --log-flush-frequency.\nNon-default choices are currently alpha and subject to change without warning.`)
87+
fs.StringVar(&rs.Logging.Format, "logging-format", "text", `Sets the log format. Permitted formats: "text", "json". Non-default formats don't honor these flags: --add-dir-header, --alsologtostderr, --log-backtrace-at, --log_dir, --log_file, --log_file_max_size, --logtostderr, --skip-headers, --skip-log-headers, --stderrthreshold, --log-flush-frequency. Non-default choices are currently alpha and subject to change without warning.`)
8888
fs.DurationVar(&rs.DeschedulingInterval, "descheduling-interval", rs.DeschedulingInterval, "Time interval between two consecutive descheduler executions. Setting this value instructs the descheduler to run in a continuous loop at the interval specified.")
8989
fs.StringVar(&rs.ClientConnection.Kubeconfig, "kubeconfig", rs.ClientConnection.Kubeconfig, "File with kube configuration. Deprecated, use client-connection-kubeconfig instead.")
9090
fs.StringVar(&rs.ClientConnection.Kubeconfig, "client-connection-kubeconfig", rs.ClientConnection.Kubeconfig, "File path to kube configuration for interacting with kubernetes apiserver.")

0 commit comments

Comments
 (0)