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>
This commit is contained in:
Joel Wurtz 2018-01-06 16:12:05 +01:00 committed by GitHub
parent c6378920e1
commit dc883c0486
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"