schema: fix invalid string reference

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
This commit is contained in:
Ma Shimiao 2017-01-23 11:49:22 +08:00
parent 579548a46e
commit 1b3e2c7f26
2 changed files with 5 additions and 5 deletions

View File

@ -179,11 +179,11 @@
"properties": {
"cpus": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
"$ref": "defs.json#/definitions/string"
"$ref": "string"
},
"mems": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems",
"$ref": "defs.json#/definitions/string"
"$ref": "string"
},
"period": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period",
@ -295,7 +295,7 @@
},
"cgroupsPath": {
"id": "https://opencontainers.org/schema/bundle/linux/cgroupsPath",
"$ref": "defs.json#/definitions/string"
"$ref": "string"
},
"rootfsPropagation": {
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",

View File

@ -238,7 +238,7 @@
"type": "boolean"
},
"type": {
"$ref": "defs.json#/definitions/string"
"$ref": "string"
},
"major": {
"oneOf": [
@ -261,7 +261,7 @@
]
},
"access": {
"$ref": "defs.json#/definitions/string"
"$ref": "string"
}
},
"required": [