Skip to content

Conversation

@giuseppe
Copy link
Member

@giuseppe giuseppe commented Dec 9, 2025

commit af0d16d introduced the issues

commit af0d16d introduced the
regression.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Comment on lines 76 to 78
"items": [
{
"$ref": "defs-vm.json#/definitions/IOMemEntryFormat"
}
]
"items": {
"anyOf": [
{
"$ref": "defs-vm.json#/definitions/IOMemEntryFormat"
}
]
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not 100% sure if I understand this one; isn't items with a direct reference in it valid as well? That format is used in various other places, e.g.;

"uidMappings": {
"type": "array",
"items": {
"$ref": "#/definitions/IDMapping"
}
},
"gidMappings": {
"type": "array",
"items": {
"$ref": "#/definitions/IDMapping"
}
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should an object, not an array.

I'll drop the anyOf.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! I see it now; it was using an array for the items 👍 (sorry, the $anyOf put me on the wrong foot)

commit af0d16d introduced the
regression.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@marquiz marquiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@giuseppe
Copy link
Member Author

@opencontainers/runtime-spec-maintainers PTAL

@hqhq hqhq merged commit d64c1d9 into opencontainers:main Dec 11, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants