mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdmain: support experimental-corrupt-check-time flag
This commit is contained in:
parent
1f734e0299
commit
86aeaad924
@ -216,6 +216,9 @@ func newConfig() *config {
|
||||
// auth
|
||||
fs.StringVar(&cfg.AuthToken, "auth-token", cfg.AuthToken, "Specify auth token specific options.")
|
||||
|
||||
// experimental
|
||||
fs.DurationVar(&cfg.ExperimentalCorruptCheckTime, "experimental-corrupt-check-time", cfg.ExperimentalCorruptCheckTime, "Duration of time between cluster corruption check passes.")
|
||||
|
||||
// ignored
|
||||
for _, f := range cfg.ignored {
|
||||
fs.Var(&flags.IgnoredFlag{Name: f}, f, "")
|
||||
|
@ -179,5 +179,9 @@ profiling flags:
|
||||
auth flags:
|
||||
--auth-token 'simple'
|
||||
Specify a v3 authentication token type and its options ('simple' or 'jwt').
|
||||
|
||||
experimental flags:
|
||||
--experimental-corrupt-check-time '0s'
|
||||
duration of time between cluster corruption check passes.
|
||||
`
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user