diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-15 18:31:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 18:31:37 +0100 |
commit | 47eaf23039d5a1352352ac1b33196b8344065632 (patch) | |
tree | fbf01bbb1c00fe5d46bca2b693a8e125ed30b694 /pkg/bindings/images/rm.go | |
parent | 9eaa6f4566eff75f5710c48ae0ba3d98840a50a9 (diff) | |
parent | 5df883e87d7d4faec24c53c89bab3255057de0bc (diff) | |
download | podman-47eaf23039d5a1352352ac1b33196b8344065632.tar.gz podman-47eaf23039d5a1352352ac1b33196b8344065632.tar.bz2 podman-47eaf23039d5a1352352ac1b33196b8344065632.zip |
Merge pull request #12300 from WanzenBug/fix-bindings-context
bindings: reuse context for API requests
Diffstat (limited to 'pkg/bindings/images/rm.go')
-rw-r--r-- | pkg/bindings/images/rm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/images/rm.go b/pkg/bindings/images/rm.go index 461eb7729..47d7c2a4b 100644 --- a/pkg/bindings/images/rm.go +++ b/pkg/bindings/images/rm.go @@ -32,7 +32,7 @@ func Remove(ctx context.Context, images []string, options *RemoveOptions) (*enti for _, image := range images { params.Add("images", image) } - response, err := conn.DoRequest(nil, http.MethodDelete, "/images/remove", params, nil) + response, err := conn.DoRequest(ctx, nil, http.MethodDelete, "/images/remove", params, nil) if err != nil { return nil, []error{err} } |