diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-15 15:53:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 15:53:16 +0100 |
commit | a50d0837b633bf780b32a20b8d4f23ccd9521c8d (patch) | |
tree | 6b24e2243b6a8178ba9581de545d21df82bdb4d5 /pkg/bindings/errors.go | |
parent | b84131eef879049a43f7cd00831575fa118cdefb (diff) | |
parent | 8a7e70919f4bab0757523ae97c170396cb13c83d (diff) | |
download | podman-a50d0837b633bf780b32a20b8d4f23ccd9521c8d.tar.gz podman-a50d0837b633bf780b32a20b8d4f23ccd9521c8d.tar.bz2 podman-a50d0837b633bf780b32a20b8d4f23ccd9521c8d.zip |
Merge pull request #12527 from jwhonce/wip/manifest4
Refactor manifest list operations
Diffstat (limited to 'pkg/bindings/errors.go')
-rw-r--r-- | pkg/bindings/errors.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/errors.go b/pkg/bindings/errors.go index ec837b39c..be184b916 100644 --- a/pkg/bindings/errors.go +++ b/pkg/bindings/errors.go @@ -25,7 +25,7 @@ func (h APIResponse) Process(unmarshalInto interface{}) error { return h.ProcessWithError(unmarshalInto, &errorhandling.ErrorModel{}) } -// Process drains the response body, and processes the HTTP status code +// ProcessWithError drains the response body, and processes the HTTP status code // Note: Closing the response.Body is left to the caller func (h APIResponse) ProcessWithError(unmarshalInto interface{}, unmarshalErrorInto interface{}) error { data, err := ioutil.ReadAll(h.Response.Body) |