Skip to content

Commit

Permalink
Merge pull request opencontainers#775 from q384566678/rootfs-enum
Browse files Browse the repository at this point in the history
schema: Add enumeration to rootfsPropagation values
  • Loading branch information
Mrunal Patel authored Apr 26, 2017
2 parents 138ad89 + a084798 commit 13895d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion schema/config-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
},
"rootfsPropagation": {
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",
"type": "string"
"$ref": "defs-linux.json#/definitions/RootfsPropagation"
},
"seccomp": {
"id": "https://opencontainers.org/schema/bundle/linux/seccomp",
Expand Down
9 changes: 9 additions & 0 deletions schema/defs-linux.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"definitions": {
"RootfsPropagation": {
"type": "string",
"enum": [
"private",
"shared",
"slave",
"unbindable"
]
},
"SeccompArch": {
"type": "string",
"enum": [
Expand Down

0 comments on commit 13895d6

Please sign in to comment.