mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
schema: fix invalid types
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
This commit is contained in:
@@ -121,11 +121,11 @@
|
||||
"properties": {
|
||||
"cpus": {
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
|
||||
"$ref": "string"
|
||||
"type": "string"
|
||||
},
|
||||
"mems": {
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems",
|
||||
"$ref": "string"
|
||||
"type": "string"
|
||||
},
|
||||
"period": {
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period",
|
||||
@@ -223,7 +223,7 @@
|
||||
},
|
||||
"cgroupsPath": {
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/cgroupsPath",
|
||||
"$ref": "string"
|
||||
"type": "string"
|
||||
},
|
||||
"rootfsPropagation": {
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",
|
||||
|
||||
@@ -95,11 +95,11 @@
|
||||
"properties": {
|
||||
"height": {
|
||||
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/height",
|
||||
"$ref": "defs.json#/definitions/unit64"
|
||||
"$ref": "defs.json#/definitions/uint64"
|
||||
},
|
||||
"width": {
|
||||
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/width",
|
||||
"$ref": "defs.json#/definitions/unit64"
|
||||
"$ref": "defs.json#/definitions/uint64"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"type": {
|
||||
"$ref": "string"
|
||||
"type": "string"
|
||||
},
|
||||
"major": {
|
||||
"$ref": "#/definitions/Major"
|
||||
@@ -203,7 +203,7 @@
|
||||
"$ref": "#/definitions/Minor"
|
||||
},
|
||||
"access": {
|
||||
"$ref": "string"
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
+1
-1
@@ -91,7 +91,7 @@
|
||||
"$ref": "#/definitions/Env"
|
||||
},
|
||||
"timeout": {
|
||||
"$ref": "#/definitions/int"
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
Reference in New Issue
Block a user