소스 검색

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 년 전
부모
커밋
3d71555a47
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {
 	if pp != nil {
 		platform = *pp
 		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)
 	manifestMatches := filterManifests(mfstList.Manifests, platform)