From 22e921b00f420d59bbc0beb9deefa54db4fe87d3 Mon Sep 17 00:00:00 2001 From: Ma Shimiao Date: Tue, 14 Feb 2017 16:56:18 +0800 Subject: [PATCH] schema/config-linux: add pattern limit for deviceCgroup Signed-off-by: Ma Shimiao --- schema/defs-linux.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schema/defs-linux.json b/schema/defs-linux.json index ca01a6870..36eaaee00 100644 --- a/schema/defs-linux.json +++ b/schema/defs-linux.json @@ -194,7 +194,8 @@ "type": "boolean" }, "type": { - "type": "string" + "type": "string", + "pattern": "^[acb]$" }, "major": { "$ref": "#/definitions/Major"