mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
Fix a copy/paste error in an error message
When we encounter an error while pushing a manifest list, don't claim that we encountered an error while adding an item to the list. [NO NEW TESTS NEEDED] Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
@ -146,7 +146,7 @@ func (ir *ImageEngine) ManifestPush(ctx context.Context, name, destination strin
|
|||||||
}
|
}
|
||||||
digest, err := manifests.Push(ir.ClientCtx, name, destination, options)
|
digest, err := manifests.Push(ir.ClientCtx, name, destination, options)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", fmt.Errorf("adding to manifest list %s: %w", name, err)
|
return "", fmt.Errorf("pushing manifest list %s: %w", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if opts.Rm {
|
if opts.Rm {
|
||||||
|
Reference in New Issue
Block a user