mirror of
https://github.com/containers/skopeo.git
synced 2025-07-04 10:26:48 +00:00
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:
parent
9724da1ff2
commit
fce2cf9c72
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user