mirror of https://github.com/k3s-io/k3s
Change log_flush_frequency to use -
Since we have the rename, we don't need our declaration to look like glog's.pull/6/head
parent
c560f41a4b
commit
055d648ed7
|
@ -9,7 +9,6 @@ gke_context
|
||||||
host_port_endpoints
|
host_port_endpoints
|
||||||
kubecfg_file
|
kubecfg_file
|
||||||
kube_master_url
|
kube_master_url
|
||||||
log_flush_frequency
|
|
||||||
max_in_flight
|
max_in_flight
|
||||||
max_par
|
max_par
|
||||||
new_file_0644
|
new_file_0644
|
||||||
|
|
|
@ -125,6 +125,7 @@ kube-master
|
||||||
label-columns
|
label-columns
|
||||||
last-release-pr
|
last-release-pr
|
||||||
legacy-userspace-proxy
|
legacy-userspace-proxy
|
||||||
|
log-flush-frequency
|
||||||
long-running-request-regexp
|
long-running-request-regexp
|
||||||
low-diskspace-threshold-mb
|
low-diskspace-threshold-mb
|
||||||
manifest-url
|
manifest-url
|
||||||
|
|
|
@ -25,8 +25,7 @@ import (
|
||||||
"github.com/spf13/pflag"
|
"github.com/spf13/pflag"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Uses _ instead of - to better align with glog flags.
|
var logFlushFreq = pflag.Duration("log-flush-frequency", 5*time.Second, "Maximum number of seconds between log flushes")
|
||||||
var logFlushFreq = pflag.Duration("log_flush_frequency", 5*time.Second, "Maximum number of seconds between log flushes")
|
|
||||||
|
|
||||||
// TODO(thockin): This is temporary until we agree on log dirs and put those into each cmd.
|
// TODO(thockin): This is temporary until we agree on log dirs and put those into each cmd.
|
||||||
func init() {
|
func init() {
|
||||||
|
|
Loading…
Reference in New Issue