Browse Source

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 <admwiggin@gmail.com>
Tianon Gravi 2 years ago
parent
commit
3d71555a47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      distribution/pull_v2.go

+ 1 - 1
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)