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>
This commit is contained in:
Daniel J Walsh
2020-04-23 05:31:34 -04:00
parent c71bbffc0f
commit e66346c7b0
3 changed files with 6 additions and 6 deletions

View File

@ -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()})