mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
schema: fix items based on latest spec
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
This commit is contained in:
@@ -245,6 +245,10 @@
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/memory/kernel",
|
||||
"$ref": "defs.json#/definitions/int64Pointer"
|
||||
},
|
||||
"kernelTCP": {
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/memory/kernelTCP",
|
||||
"$ref": "defs.json#/definitions/int64Pointer"
|
||||
},
|
||||
"limit": {
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/memory/limit",
|
||||
"$ref": "defs.json#/definitions/int64Pointer"
|
||||
|
||||
+16
-8
@@ -96,9 +96,6 @@
|
||||
"minimum": 0,
|
||||
"maximum": 512
|
||||
},
|
||||
"FilePermissions": {
|
||||
"type": "string"
|
||||
},
|
||||
"FileType": {
|
||||
"description": "Type of a block or special character device",
|
||||
"type": "string",
|
||||
@@ -116,9 +113,6 @@
|
||||
"type": {
|
||||
"$ref": "#/definitions/FileType"
|
||||
},
|
||||
"permissions": {
|
||||
"$ref": "#/definitions/FilePermissions"
|
||||
},
|
||||
"path": {
|
||||
"$ref": "defs.json#/definitions/FilePath"
|
||||
},
|
||||
@@ -132,10 +126,24 @@
|
||||
"$ref": "#/definitions/Minor"
|
||||
},
|
||||
"uid": {
|
||||
"$ref": "defs.json#/definitions/UID"
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "defs.json#/definitions/UID"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"gid": {
|
||||
"$ref": "defs.json#/definitions/GID"
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "defs.json#/definitions/GID"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user