diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-09 14:47:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 14:47:05 -0500 |
commit | da062b5bd03dd88060eb91c7d02936d5e7427cb9 (patch) | |
tree | 4b61e35336b54b815e0cf844778eb8e29906a120 /cmd/podman/pods/prune.go | |
parent | 9abbe0728c5050914168a154622087a4dacd4dfe (diff) | |
parent | 2870a0b0a6b94528b82df7cee57c8c6a0252fc85 (diff) | |
download | podman-da062b5bd03dd88060eb91c7d02936d5e7427cb9.tar.gz podman-da062b5bd03dd88060eb91c7d02936d5e7427cb9.tar.bz2 podman-da062b5bd03dd88060eb91c7d02936d5e7427cb9.zip |
Merge pull request #8635 from Luap99/shell-completion-test
Add system test for shell completion
Diffstat (limited to 'cmd/podman/pods/prune.go')
-rw-r--r-- | cmd/podman/pods/prune.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/pods/prune.go b/cmd/podman/pods/prune.go index e069c9b7f..965c36398 100644 --- a/cmd/podman/pods/prune.go +++ b/cmd/podman/pods/prune.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/containers/podman/v2/cmd/podman/common" + "github.com/containers/common/pkg/completion" "github.com/containers/podman/v2/cmd/podman/registry" "github.com/containers/podman/v2/cmd/podman/utils" "github.com/containers/podman/v2/cmd/podman/validate" @@ -28,7 +28,7 @@ var ( Short: "Remove all stopped pods and their containers", Long: pruneDescription, RunE: prune, - ValidArgsFunction: common.AutocompletePods, + ValidArgsFunction: completion.AutocompleteNone, Example: `podman pod prune`, } ) |