No more nondistributable layers in MS registry
Microsoft announced the removal of nondistributable layers from their images today. This makes the convert test fail since it assumes the first layer is nondistributable on Windows during the test. Signed-off-by: Phil Estes <estesp@amazon.com>
This commit is contained in:
parent
0f6a70d970
commit
38b0f970f0
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user