Added optional -log-level flag to 'operator migrate' command (#15405)

This commit is contained in:
Peter Wilson
2022-05-12 20:56:25 +01:00
committed by GitHub
parent 7aaa70cf9c
commit aa2a10a1a7
4 changed files with 27 additions and 5 deletions

View File

@@ -189,9 +189,9 @@ func (c *ServerCommand) Flags() *FlagSets {
Target: &c.flagLogLevel,
Default: notSetValue,
EnvVar: "VAULT_LOG_LEVEL",
Completion: complete.PredictSet("trace", "debug", "info", "warn", "err"),
Completion: complete.PredictSet("trace", "debug", "info", "warn", "error"),
Usage: "Log verbosity level. Supported values (in order of detail) are " +
"\"trace\", \"debug\", \"info\", \"warn\", and \"err\".",
"\"trace\", \"debug\", \"info\", \"warn\", and \"error\".",
})
f.StringVar(&StringVar{