diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-04-23 05:31:34 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-04-23 05:31:36 -0400 |
commit | e66346c7b03bdad8c460992b54cd675d19c64c72 (patch) | |
tree | 00a6070dc7acea68e35ea04a5e170c3f113e462f /pkg/api/handlers | |
parent | c71bbffc0f32b4539897249f0f3c1d1398d9f2b4 (diff) | |
download | podman-e66346c7b03bdad8c460992b54cd675d19c64c72.tar.gz podman-e66346c7b03bdad8c460992b54cd675d19c64c72.tar.bz2 podman-e66346c7b03bdad8c460992b54cd675d19c64c72.zip |
Stop wrapping pull messages
The length and size of our error messages on failure to pull
is huge. This patch at least eliminates some of the wrapping.
But I think eventually we need to look at containers/image
and see if we can modify the error messages to something a little
more human friendly.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r-- | pkg/api/handlers/libpod/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/images.go b/pkg/api/handlers/libpod/images.go index 46401e4f2..760ab1b7c 100644 --- a/pkg/api/handlers/libpod/images.go +++ b/pkg/api/handlers/libpod/images.go @@ -443,7 +443,7 @@ func ImagesPull(w http.ResponseWriter, r *http.Request) { nil, util.PullImageAlways) if err != nil { - utils.InternalServerError(w, errors.Wrapf(err, "error pulling image %q", query.Reference)) + utils.InternalServerError(w, err) return } res = append(res, handlers.LibpodImagesPullReport{ID: newImage.ID()}) |