Skip to content

Commit

Permalink
Merge pull request #1058 from replicatedhq/laverya/image-check-fail-e…
Browse files Browse the repository at this point in the history
…rror-messaging

return a better error message when unable to find images
  • Loading branch information
laverya committed Sep 3, 2020
2 parents 316fb38 + e1f283e commit 2af55f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/image/builder.go
Expand Up @@ -127,7 +127,7 @@ func GetPrivateImages(upstreamDir string, checkedImages map[string]ImageInfo, al
} else {
p, err := IsPrivateImage(image)
if err != nil {
return errors.Wrap(err, "failed to check if image is private")
return errors.Wrapf(err, "failed to check if image in %q is private", info.Name())
}
isPrivate = p
checkedImages[image] = ImageInfo{
Expand Down

0 comments on commit 2af55f1

Please sign in to comment.