From 1b3e2c7f2655b8e8aa6223c994d8cb27fb585405 Mon Sep 17 00:00:00 2001 From: Ma Shimiao Date: Mon, 23 Jan 2017 11:49:22 +0800 Subject: [PATCH] schema: fix invalid string reference Signed-off-by: Ma Shimiao --- schema/config-linux.json | 6 +++--- schema/defs-linux.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/schema/config-linux.json b/schema/config-linux.json index fa033e805..f2e5a3b34 100644 --- a/schema/config-linux.json +++ b/schema/config-linux.json @@ -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", diff --git a/schema/defs-linux.json b/schema/defs-linux.json index 3044eb615..bf9d975bf 100644 --- a/schema/defs-linux.json +++ b/schema/defs-linux.json @@ -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": [