schema: fix invalid types
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
This commit is contained in:
parent
2e2d568b83
commit
4100020dfc
|
@ -121,11 +121,11 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"cpus": {
|
"cpus": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
|
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
|
||||||
"$ref": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"mems": {
|
"mems": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems",
|
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems",
|
||||||
"$ref": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"period": {
|
"period": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period",
|
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period",
|
||||||
|
@ -223,7 +223,7 @@
|
||||||
},
|
},
|
||||||
"cgroupsPath": {
|
"cgroupsPath": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/cgroupsPath",
|
"id": "https://opencontainers.org/schema/bundle/linux/cgroupsPath",
|
||||||
"$ref": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"rootfsPropagation": {
|
"rootfsPropagation": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",
|
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",
|
||||||
|
|
|
@ -95,11 +95,11 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"height": {
|
"height": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/height",
|
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/height",
|
||||||
"$ref": "defs.json#/definitions/unit64"
|
"$ref": "defs.json#/definitions/uint64"
|
||||||
},
|
},
|
||||||
"width": {
|
"width": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/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": "boolean"
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"major": {
|
"major": {
|
||||||
"$ref": "#/definitions/Major"
|
"$ref": "#/definitions/Major"
|
||||||
|
@ -203,7 +203,7 @@
|
||||||
"$ref": "#/definitions/Minor"
|
"$ref": "#/definitions/Minor"
|
||||||
},
|
},
|
||||||
"access": {
|
"access": {
|
||||||
"$ref": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
"$ref": "#/definitions/Env"
|
"$ref": "#/definitions/Env"
|
||||||
},
|
},
|
||||||
"timeout": {
|
"timeout": {
|
||||||
"$ref": "#/definitions/int"
|
"type": "integer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
Loading…
Reference in New Issue