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:
Nalin Dahyabhai
2023-04-26 12:42:29 -04:00
parent 846e7aa21b
commit a0c7bb26a9

View File

@ -146,7 +146,7 @@ func (ir *ImageEngine) ManifestPush(ctx context.Context, name, destination strin
}
digest, err := manifests.Push(ir.ClientCtx, name, destination, options)
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 {