Skip to content

Commit

Permalink
quote the image name in image check failure errors to make it clear i…
Browse files Browse the repository at this point in the history
…t is empty
  • Loading branch information
laverya committed Jan 28, 2025
1 parent fe940f6 commit 6a4573e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/image/online.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func UpdateInstallationImages(opts UpdateInstallationImagesOptions) error {
g.Go(func() error {
isPrivate, err := isPrivateImage(image)
if err != nil {
return errors.Wrapf(err, "failed to check if image %s is private", image)
return errors.Wrapf(err, "failed to check if image %q is private", image)
}
mtx.Lock()
installationImagesMap[image] = types.InstallationImageInfo{IsPrivate: isPrivate}
Expand Down

0 comments on commit 6a4573e

Please sign in to comment.