Browse code

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 <joel.wurtz@gmail.com>

Joel Wurtz authored on 2018/01/07 00:12:05
Showing 1 changed files
... ...
@@ -838,12 +838,11 @@ definitions:
838 838
       Volumes:
839 839
         description: "An object mapping mount point paths inside the container to empty objects."
840 840
         type: "object"
841
-        properties:
842
-          additionalProperties:
843
-            type: "object"
844
-            enum:
845
-              - {}
846
-            default: {}
841
+        additionalProperties:
842
+          type: "object"
843
+          enum:
844
+            - {}
845
+          default: {}
847 846
       WorkingDir:
848 847
         description: "The working directory for commands to run in."
849 848
         type: "string"