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

View File

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