Merge pull request #8685 from estesp/no-nondistributable-layers
No more nondistributable layers in MS registry
This commit is contained in:
commit
78b4af74a4
@ -80,10 +80,6 @@ func TestConvert(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
for _, l := range mani.Layers {
|
for _, l := range mani.Layers {
|
||||||
if plats[0].OS == "windows" {
|
assert.Equal(t, ocispec.MediaTypeImageLayer, l.MediaType)
|
||||||
assert.Equal(t, ocispec.MediaTypeImageLayerNonDistributable, l.MediaType)
|
|
||||||
} else {
|
|
||||||
assert.Equal(t, ocispec.MediaTypeImageLayer, l.MediaType)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user