Skip to content

schema/defs-config.json: Require rootfs properties and enumerate type#358

Merged
jonboulle merged 2 commits into
opencontainers:masterfrom
wking:rootfs-json-schema
Oct 7, 2016
Merged

schema/defs-config.json: Require rootfs properties and enumerate type#358
jonboulle merged 2 commits into
opencontainers:masterfrom
wking:rootfs-json-schema

Conversation

@wking
Copy link
Copy Markdown
Contributor

@wking wking commented Oct 1, 2016

The property had been (erroneously) "layers"; this commit fixes that by making the property "type" and using an enum to require the value to be "layers". It also adds "required" entries for both rootfs.diff_ids and rootfs.type.

The property had been (erroneously) "layers"; this commit fixes that
by making the property "type" and using an enum to require the value
to be "layers".  It also adds "required" entries for both
rootfs.diff_ids and rootfs.type.

Signed-off-by: W. Trevor King <wking@tremily.us>
Generated with:

  $ make schema-fs

Signed-off-by: W. Trevor King <wking@tremily.us>
@vbatts
Copy link
Copy Markdown
Member

vbatts commented Oct 6, 2016

LGTM

Approved with PullApprove

1 similar comment
@philips
Copy link
Copy Markdown
Contributor

philips commented Oct 7, 2016

LGTM

Approved with PullApprove

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.

4 participants