From 0a8ef1d7b5157a67b65c7aab32908d868ab32ec8 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Fri, 24 Feb 2017 14:20:39 +0800 Subject: [PATCH 1/2] config-schema.json: add required Signed-off-by: zhouhao --- schema/config-schema.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/schema/config-schema.json b/schema/config-schema.json index a1828fc9..e88803d8 100644 --- a/schema/config-schema.json +++ b/schema/config-schema.json @@ -192,6 +192,11 @@ "items": { "id": "https://opencontainers.org/schema/bundle/linux/rlimits/0", "type": "object", + "required": [ + "type", + "soft", + "hard" + ], "properties": { "hard": { "id": "https://opencontainers.org/schema/bundle/linux/rlimits/0/hard", From ec49ba1ada9d542fc4507a0c9b1d53cc0a6953d1 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Mon, 27 Feb 2017 09:29:01 +0800 Subject: [PATCH 2/2] remove mounts from required Signed-off-by: zhouhao --- schema/config-schema.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/schema/config-schema.json b/schema/config-schema.json index e88803d8..87e46dfe 100644 --- a/schema/config-schema.json +++ b/schema/config-schema.json @@ -230,7 +230,6 @@ "ociVersion", "platform", "process", - "root", - "mounts" + "root" ] }