Merge pull request #14272 from Luap99/completion2

shell completion: use more constants in the code
This commit is contained in:
OpenShift Merge Robot
2022-05-19 18:45:03 -04:00
committed by GitHub
11 changed files with 69 additions and 57 deletions

View File

@ -98,6 +98,8 @@ type Type string
// Status describes the actual event action (stop, start, create, kill)
type Status string
// When updating this list below please also update the shell completion list in
// cmd/podman/common/completion.go and the StringToXXX function in events.go.
const (
// Container - event is related to containers
Container Type = "container"