From 6a4573e35cfa41128c1d44595b3121b7ecf16c68 Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Tue, 28 Jan 2025 14:03:42 -0500 Subject: [PATCH] quote the image name in image check failure errors to make it clear it is empty --- pkg/image/online.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/image/online.go b/pkg/image/online.go index 93bcb4afa4..2296cdb2cb 100644 --- a/pkg/image/online.go +++ b/pkg/image/online.go @@ -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}