diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-05 01:32:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 01:32:48 +0200 |
commit | 807efd669802f00a90339bfa43a508505bec4858 (patch) | |
tree | 43ac6abb498244e3427ffa514e1f0a4cd997d8c5 /pkg | |
parent | d4cf3c589d09dd395a3b63e82f5a5c198535cb46 (diff) | |
parent | 7590a415d005abcb7774ced296c219822d47991a (diff) | |
download | podman-807efd669802f00a90339bfa43a508505bec4858.tar.gz podman-807efd669802f00a90339bfa43a508505bec4858.tar.bz2 podman-807efd669802f00a90339bfa43a508505bec4858.zip |
Merge pull request #7222 from baude/issue7128
correct go-binding key for volumes
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/bindings/containers/containers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/containers/containers.go b/pkg/bindings/containers/containers.go index 9e6dbef19..9913b773b 100644 --- a/pkg/bindings/containers/containers.go +++ b/pkg/bindings/containers/containers.go @@ -98,7 +98,7 @@ func Remove(ctx context.Context, nameOrID string, force, volumes *bool) error { params.Set("force", strconv.FormatBool(*force)) } if volumes != nil { - params.Set("vols", strconv.FormatBool(*volumes)) + params.Set("v", strconv.FormatBool(*volumes)) } response, err := conn.DoRequest(nil, http.MethodDelete, "/containers/%s", params, nil, nameOrID) if err != nil { |