Merge pull request #7282 from ParkerVR/tags-digest

Img Pull - Error pass through
This commit is contained in:
OpenShift Merge Robot 2020-08-11 03:57:04 -04:00 committed by GitHub
commit 518e83250e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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