Skip to content

Commit a084798

Browse files
author
zhouhao
committed
schema: Add enumeration to rootfsPropagation values
Signed-off-by: zhouhao <[email protected]>
1 parent cfc95a5 commit a084798

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

schema/config-linux.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
},
228228
"rootfsPropagation": {
229229
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",
230-
"type": "string"
230+
"$ref": "defs-linux.json#/definitions/RootfsPropagation"
231231
},
232232
"seccomp": {
233233
"id": "https://opencontainers.org/schema/bundle/linux/seccomp",

schema/defs-linux.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
{
22
"definitions": {
3+
"RootfsPropagation": {
4+
"type": "string",
5+
"enum": [
6+
"private",
7+
"shared",
8+
"slave",
9+
"unbindable"
10+
]
11+
},
312
"SeccompArch": {
413
"type": "string",
514
"enum": [

0 commit comments

Comments
 (0)