Merge pull request #8685 from estesp/no-nondistributable-layers

No more nondistributable layers in MS registry
This commit is contained in:
Derek McGowan 2023-06-14 17:46:21 +00:00 committed by GitHub
commit 78b4af74a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,10 +80,6 @@ func TestConvert(t *testing.T) {
t.Fatal(err)
}
for _, l := range mani.Layers {
if plats[0].OS == "windows" {
assert.Equal(t, ocispec.MediaTypeImageLayerNonDistributable, l.MediaType)
} else {
assert.Equal(t, ocispec.MediaTypeImageLayer, l.MediaType)
}
assert.Equal(t, ocispec.MediaTypeImageLayer, l.MediaType)
}
}