diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-11 03:57:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-11 03:57:04 -0400 |
commit | 518e83250e3df04458a4d130a10f8914da11f3b7 (patch) | |
tree | f91424f57c7dc82f0be0cf10de68f4ef4ddbcb24 | |
parent | df0ad51075102c49d170bfeb77085b3c9c251ed6 (diff) | |
parent | 2266ba71656a53f40acd1a13f1fe5e8d9851427d (diff) | |
download | podman-518e83250e3df04458a4d130a10f8914da11f3b7.tar.gz podman-518e83250e3df04458a4d130a10f8914da11f3b7.tar.bz2 podman-518e83250e3df04458a4d130a10f8914da11f3b7.zip |
Merge pull request #7282 from ParkerVR/tags-digest
Img Pull - Error pass through
-rw-r--r-- | pkg/domain/infra/abi/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index 35675e1f3..70d740bb5 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -226,7 +226,7 @@ func (ir *ImageEngine) Pull(ctx context.Context, rawImage string, options entiti if err != nil { imageRef, err = alltransports.ParseImageName(fmt.Sprintf("%s%s", dockerPrefix, rawImage)) if err != nil { - return nil, errors.Errorf("invalid image reference %q", rawImage) + return nil, errors.Wrapf(err, "invalid image reference %q", rawImage) } } |