From dcd5421e13255edf83b72ba5ad9427c109ff364c Mon Sep 17 00:00:00 2001 From: Gavin Li Date: Fri, 18 Oct 2019 18:10:49 -0700 Subject: [PATCH] Add `device_cgroup_rules` support to 3.7 schema It was last present in the 2.4 schema. I could not find why it was removed for 3.0, so I am adding it back in. Signed-off-by: Gavin Li --- compose/config/config_schema_v3.7.json | 1 + 1 file changed, 1 insertion(+) diff --git a/compose/config/config_schema_v3.7.json b/compose/config/config_schema_v3.7.json index cd7882f5b24..cf5293977fe 100644 --- a/compose/config/config_schema_v3.7.json +++ b/compose/config/config_schema_v3.7.json @@ -127,6 +127,7 @@ "registry": {"type": "string"} }}, "depends_on": {"$ref": "#/definitions/list_of_strings"}, + "device_cgroup_rules": {"$ref": "#/definitions/list_of_strings"}, "devices": {"type": "array", "items": {"type": "string"}, "uniqueItems": true}, "dns": {"$ref": "#/definitions/string_or_list"}, "dns_search": {"$ref": "#/definitions/string_or_list"},