Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Remove condition restricting images to linux/amd64 #3141

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions pkg/registry/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,8 @@ interpret:
var list manifestlist.ManifestList = deserialised.ManifestList
// TODO(michael): is it valid to just pick the first one that matches?
for _, m := range list.Manifests {
if m.Platform.OS == "linux" && m.Platform.Architecture == "amd64" {
manifest, fetchErr = manifests.Get(ctx, m.Digest, digestOpt)
goto interpret
}
manifest, fetchErr = manifests.Get(ctx, m.Digest, digestOpt)
goto interpret
}
entry := ImageEntry{}
entry.ExcludedReason = "no suitable manifest (linux amd64) in manifestlist"
Expand Down