From 65164d88f6f4b04f6a4a693a4efc581e6232368c Mon Sep 17 00:00:00 2001 From: Joel Wurtz Date: Sat, 6 Jan 2018 16:12:05 +0100 Subject: [PATCH] Fix Volumes property definition in ContainerConfig Actually the specification was expecting a 'additionalProperties' for the Volumes data, where in fact it's expecting a map of string pointing to empty object. Signed-off-by: Joel Wurtz Upstream-commit: dc883c0486b398eb5ad99f35aef3ff02a5a7dd29 Component: engine --- components/engine/api/swagger.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index 73ea1a378c..096d523b39 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -838,12 +838,11 @@ definitions: Volumes: description: "An object mapping mount point paths inside the container to empty objects." type: "object" - properties: - additionalProperties: - type: "object" - enum: - - {} - default: {} + additionalProperties: + type: "object" + enum: + - {} + default: {} WorkingDir: description: "The working directory for commands to run in." type: "string"