Skip to content

Commit

Permalink
Remove condition restricting images to linux/amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
ikaruswill committed Jun 17, 2020
1 parent c02b716 commit 3d9d5a8
Showing 1 changed file with 2 additions and 4 deletions.
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

0 comments on commit 3d9d5a8

Please sign in to comment.