Fix an error message to refer to repo, not a single image

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač 2022-09-06 21:55:58 +02:00
parent 9724da1ff2
commit fce2cf9c72

View File

@ -216,7 +216,7 @@ func getImageTags(ctx context.Context, sysCtx *types.SystemContext, repoRef refe
} }
tags, err := docker.GetRepositoryTags(ctx, sysCtx, dockerRef) tags, err := docker.GetRepositoryTags(ctx, sysCtx, dockerRef)
if err != nil { 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 return tags, nil