From 47572095abf58c885fcdb25d08709e7f041854bf Mon Sep 17 00:00:00 2001 From: Guillaume Lours Date: Fri, 4 Mar 2022 23:54:20 +0100 Subject: [PATCH] change json spec of ssh type Signed-off-by: Guillaume Lours --- schema/compose-spec.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/schema/compose-spec.json b/schema/compose-spec.json index 2cb025a2..93e1a174 100644 --- a/schema/compose-spec.json +++ b/schema/compose-spec.json @@ -93,9 +93,8 @@ "args": {"$ref": "#/definitions/list_or_dict"}, "ssh": { "oneOf": [ - {}, {"type": "string"}, - {"type": "array", "items": {"type": "string"}} + {"$ref": "#/definitions/list_or_dict"} ] }, "labels": {"$ref": "#/definitions/list_or_dict"},