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

image: manifest.go: remove empty layers check #308

Closed
wants to merge 1 commit into from

Conversation

runcom
Copy link
Member

@runcom runcom commented Sep 13, 2016

There's a discrepancy between oci-image-tool, internal schema tests (https://github.com/opencontainers/image-spec/blob/master/schema/manifest_test.go#L51) and the spec itself (https://github.com/opencontainers/image-spec/blob/master/manifest.md#image-manifest-property-descriptions). Schema tests and the spec don't require a not empty layers array while oci-image-tool is erroring out on an empty layers array.

Signed-off-by: Antonio Murdaca runcom@redhat.com

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
@wking
Copy link
Contributor

wking commented Sep 13, 2016 via email

@wking
Copy link
Contributor

wking commented Sep 13, 2016

Actually, we probably want to also drop “one or more” [1,2], although
that will have trivial conflicts with the in-flight #305.

@runcom
Copy link
Member Author

runcom commented Sep 14, 2016

Closing as per @stevvooe comment here #313

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.

2 participants