diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-15 09:08:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-15 09:08:37 -0400 |
commit | 405331ff9072e6febed123aafdc365517917ab44 (patch) | |
tree | 0e965ca02fe57c2c0110d17c46dcdbd7ab68aebf /cmd/podman/common/completion.go | |
parent | b2a3bb4a6180b390c87565c49798990384f16976 (diff) | |
parent | bc86c50cd81bc3267ec8b9840e1a0e705231f336 (diff) | |
download | podman-405331ff9072e6febed123aafdc365517917ab44.tar.gz podman-405331ff9072e6febed123aafdc365517917ab44.tar.bz2 podman-405331ff9072e6febed123aafdc365517917ab44.zip |
Merge pull request #10032 from nalind/trace-level
Recognize "trace" logging, and use it for lone errors at exit
Diffstat (limited to 'cmd/podman/common/completion.go')
-rw-r--r-- | cmd/podman/common/completion.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/common/completion.go b/cmd/podman/common/completion.go index d110fb1b5..6086df297 100644 --- a/cmd/podman/common/completion.go +++ b/cmd/podman/common/completion.go @@ -21,7 +21,7 @@ var ( // ChangeCmds is the list of valid Change commands to passed to the Commit call ChangeCmds = []string{"CMD", "ENTRYPOINT", "ENV", "EXPOSE", "LABEL", "ONBUILD", "STOPSIGNAL", "USER", "VOLUME", "WORKDIR"} // LogLevels supported by podman - LogLevels = []string{"debug", "info", "warn", "warning", "error", "fatal", "panic"} + LogLevels = []string{"trace", "debug", "info", "warn", "warning", "error", "fatal", "panic"} ) type completeType int @@ -1009,7 +1009,7 @@ func AutocompleteEventBackend(cmd *cobra.Command, args []string, toComplete stri } // AutocompleteLogLevel - Autocomplete log level options. -// -> "debug", "info", "warn", "error", "fatal", "panic" +// -> "trace", "debug", "info", "warn", "error", "fatal", "panic" func AutocompleteLogLevel(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { return LogLevels, cobra.ShellCompDirectiveNoFileComp } |