Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update schema and tests for mediaType validation #933

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

sajayantony
Copy link
Member

Ideally it would be better to make the mediaType a required property. But given that we want to be backward compatible, the check is left to the client to ensure that layers/config doesn't appear with the manifests then mediaType is not present.

This PR doesn't attempt to fix that requirement in the schema and fixes only tests to have a valid mediaType.

-- Signed-off-by: Sajay Antony sajaya@microsoft.com

Signed-off-by: Sajay Antony <sajaya@microsoft.com>
@sajayantony sajayantony merged commit bc9c4bd into opencontainers:main Aug 25, 2022
sudo-bmitch pushed a commit to sudo-bmitch/image-spec that referenced this pull request Sep 25, 2022
Signed-off-by: Sajay Antony <sajaya@microsoft.com>
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.

3 participants