From 1610af7e9f833a317f0ecee5d52ccf038a250f95 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Tue, 19 Sep 2017 18:27:02 +0200 Subject: [PATCH] Sync composefile v3.2 schema with `docker/cli` Signed-off-by: Vincent Demeester --- compose/config/config_schema_v3.2.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compose/config/config_schema_v3.2.json b/compose/config/config_schema_v3.2.json index b26b2c6c6..2ca8e92db 100644 --- a/compose/config/config_schema_v3.2.json +++ b/compose/config/config_schema_v3.2.json @@ -170,7 +170,8 @@ "type": "array", "items": { "oneOf": [ - {"type": ["string", "number"], "format": "ports"}, + {"type": "number", "format": "ports"}, + {"type": "string", "format": "ports"}, { "type": "object", "properties": { @@ -249,6 +250,7 @@ "source": {"type": "string"}, "target": {"type": "string"}, "read_only": {"type": "boolean"}, + "consistency": {"type": "string"}, "bind": { "type": "object", "properties": {