diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-12-14 18:40:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-14 18:40:58 +0100 |
commit | a0894b5ecd6c64d30b82a7b79bc1e2e87c7f0a4e (patch) | |
tree | f29f820c85da215b2783ceab5d8284698ce85150 /cmd/podman/volumes/prune.go | |
parent | 1884bd8873b6e60c0a590424cadd192cafb26c5f (diff) | |
parent | 50501f49a327a2f5c7f1c6746f9fde482c877387 (diff) | |
download | podman-a0894b5ecd6c64d30b82a7b79bc1e2e87c7f0a4e.tar.gz podman-a0894b5ecd6c64d30b82a7b79bc1e2e87c7f0a4e.tar.bz2 podman-a0894b5ecd6c64d30b82a7b79bc1e2e87c7f0a4e.zip |
Merge pull request #12586 from jmguzik/secret-cmd
Add secret list --filter to cli
Diffstat (limited to 'cmd/podman/volumes/prune.go')
-rw-r--r-- | cmd/podman/volumes/prune.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/podman/volumes/prune.go b/cmd/podman/volumes/prune.go index 1f3cc6913..43b529768 100644 --- a/cmd/podman/volumes/prune.go +++ b/cmd/podman/volumes/prune.go @@ -58,6 +58,9 @@ func prune(cmd *cobra.Command, args []string) error { return err } pruneOptions.Filters, err = parse.FilterArgumentsIntoFilters(filter) + if err != nil { + return err + } if !force { reader := bufio.NewReader(os.Stdin) fmt.Println("WARNING! This will remove all volumes not used by at least one container. The following volumes will be removed:") |