Skip to content

Commit dafbeb5

Browse files
committed
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 <[email protected]> (cherry picked from commit 38b0f97)
1 parent c15f38a commit dafbeb5

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

integration/client/convert_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ func TestConvert(t *testing.T) {
8080
t.Fatal(err)
8181
}
8282
for _, l := range mani.Layers {
83-
if plats[0].OS == "windows" {
84-
assert.Equal(t, ocispec.MediaTypeImageLayerNonDistributable, l.MediaType)
85-
} else {
86-
assert.Equal(t, ocispec.MediaTypeImageLayer, l.MediaType)
87-
}
83+
assert.Equal(t, ocispec.MediaTypeImageLayer, l.MediaType)
8884
}
8985
}

0 commit comments

Comments
 (0)