From 3d71555a4785cfe28f621caf5edf6e729300bc40 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 1 Nov 2022 15:28:29 -0700 Subject: [PATCH] Remove errant "runtime.GOARCH" from debug message This debug message already includes a full platform string, so this ends up being something like `linux/arm/v7/amd64` in the end result. Signed-off-by: Tianon Gravi --- distribution/pull_v2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/pull_v2.go b/distribution/pull_v2.go index 2af5251fd5..9879c1575d 100644 --- a/distribution/pull_v2.go +++ b/distribution/pull_v2.go @@ -830,7 +830,7 @@ func (p *puller) pullManifestList(ctx context.Context, ref reference.Named, mfst if pp != nil { platform = *pp } - logrus.Debugf("%s resolved to a manifestList object with %d entries; looking for a %s/%s match", ref, len(mfstList.Manifests), platforms.Format(platform), runtime.GOARCH) + logrus.Debugf("%s resolved to a manifestList object with %d entries; looking for a %s match", ref, len(mfstList.Manifests), platforms.Format(platform)) manifestMatches := filterManifests(mfstList.Manifests, platform)