diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-27 00:18:10 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-01 18:22:58 +0000 |
commit | 8e7b4944f0ec685507e7ca3bb3439171b76763b8 (patch) | |
tree | 78d0360d6b08a4f0fb43c78156131e1e8851f122 | |
parent | 8e1ef558eb324767ac46e452c80cc79f7ba2e9d2 (diff) | |
download | podman-8e7b4944f0ec685507e7ca3bb3439171b76763b8.tar.gz podman-8e7b4944f0ec685507e7ca3bb3439171b76763b8.tar.bz2 podman-8e7b4944f0ec685507e7ca3bb3439171b76763b8.zip |
Include the rejected reference when parsing it fails in pullRefPairsFromRefNames
This will make any failures easier to attribute to the cause.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Closes: #1176
Approved by: rhatdan
-rw-r--r-- | libpod/image/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/image/pull.go b/libpod/image/pull.go index cc60c8894..7ea19d0e6 100644 --- a/libpod/image/pull.go +++ b/libpod/image/pull.go @@ -346,7 +346,7 @@ func (ir *Runtime) pullRefPairsFromRefNames(refNames []*pullRefName) ([]*pullRef for i, rn := range refNames { destRef, err := is.Transport.ParseStoreReference(ir.store, rn.dstName) if err != nil { - return nil, errors.Wrapf(err, "error parsing dest reference name") + return nil, errors.Wrapf(err, "error parsing dest reference name %#v", rn.dstName) } res[i] = &pullRefPair{ image: rn.image, |