From 38b0f970f01846fb201a1bbe0dded1ad5c61b44f Mon Sep 17 00:00:00 2001 From: Phil Estes Date: Tue, 13 Jun 2023 16:34:44 -0400 Subject: [PATCH] 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 --- integration/client/convert_test.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/integration/client/convert_test.go b/integration/client/convert_test.go index 780ac5900..a9246fd8b 100644 --- a/integration/client/convert_test.go +++ b/integration/client/convert_test.go @@ -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) } }