From fce2cf9c721e61f61890e392f73f9420006aa99d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Tue, 6 Sep 2022 21:55:58 +0200 Subject: [PATCH] Fix an error message to refer to repo, not a single image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miloslav Trmač --- cmd/skopeo/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/skopeo/sync.go b/cmd/skopeo/sync.go index 2336669c..bf66e333 100644 --- a/cmd/skopeo/sync.go +++ b/cmd/skopeo/sync.go @@ -216,7 +216,7 @@ func getImageTags(ctx context.Context, sysCtx *types.SystemContext, repoRef refe } tags, err := docker.GetRepositoryTags(ctx, sysCtx, dockerRef) if err != nil { - return nil, fmt.Errorf("Error determining repository tags for image %s: %w", name, err) + return nil, fmt.Errorf("Error determining repository tags for repo %s: %w", name, err) } return tags, nil