mirror of
https://github.com/distribution/distribution.git
synced 2025-09-23 20:16:53 +00:00
Support annotations in the OCI Image Index
Empty platform structs were already supported after splitting OCI Image Index out from Docker Manifest List. Signed-off-by: Bracken Dawson <abdawson@gmail.com>
This commit is contained in:
@@ -576,7 +576,7 @@ func TestLinkPathFuncs(t *testing.T) {
|
||||
}
|
||||
|
||||
func ociIndexFromDesriptorsWithMediaType(descriptors []ocischema.ManifestDescriptor, mediaType string) (*ocischema.DeserializedImageIndex, error) {
|
||||
manifest, err := ocischema.FromDescriptors(descriptors)
|
||||
manifest, err := ocischema.FromDescriptors(descriptors, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user