summaryrefslogtreecommitdiff
path: root/pkg/bindings/errors.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-15 15:53:16 +0100
committerGitHub <noreply@github.com>2022-01-15 15:53:16 +0100
commita50d0837b633bf780b32a20b8d4f23ccd9521c8d (patch)
tree6b24e2243b6a8178ba9581de545d21df82bdb4d5 /pkg/bindings/errors.go
parentb84131eef879049a43f7cd00831575fa118cdefb (diff)
parent8a7e70919f4bab0757523ae97c170396cb13c83d (diff)
downloadpodman-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.go2
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)