From a0c7bb26a92c6b95f63decca58145f25e0288a5e Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Wed, 26 Apr 2023 12:42:29 -0400 Subject: [PATCH] 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 --- pkg/domain/infra/tunnel/manifest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/domain/infra/tunnel/manifest.go b/pkg/domain/infra/tunnel/manifest.go index 0de73a32c1..a94009d6fc 100644 --- a/pkg/domain/infra/tunnel/manifest.go +++ b/pkg/domain/infra/tunnel/manifest.go @@ -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 {