diff options
author | Matthew Heon <mheon@redhat.com> | 2018-04-24 17:21:42 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-04-25 18:34:55 +0000 |
commit | 379404d30655c546d606f490514094fa7ca81cca (patch) | |
tree | ef086ea8fa698cb0cbcbec00105fb52456101cfe /libpod/image/image.go | |
parent | 22011b428c16a8f80b8bfc3292467e34fb2d305a (diff) | |
download | podman-379404d30655c546d606f490514094fa7ca81cca.tar.gz podman-379404d30655c546d606f490514094fa7ca81cca.tar.bz2 podman-379404d30655c546d606f490514094fa7ca81cca.zip |
Do not eat error messages from pullImage
Signed-off-by: Matthew Heon <mheon@redhat.com>
Closes: #668
Approved by: rhatdan
Diffstat (limited to 'libpod/image/image.go')
-rw-r--r-- | libpod/image/image.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/image/image.go b/libpod/image/image.go index 53d69ebe9..c9f03ebef 100644 --- a/libpod/image/image.go +++ b/libpod/image/image.go @@ -140,7 +140,7 @@ func (ir *Runtime) New(ctx context.Context, name, signaturePolicyPath, authfile } imageName, err := newImage.pullImage(ctx, writer, authfile, signaturePolicyPath, signingoptions, dockeroptions, forceSecure) if err != nil { - return nil, errors.Errorf("unable to pull %s", name) + return nil, errors.Wrapf(err, "unable to pull %s", name) } newImage.InputName = imageName |