Docker labels configuration should be of type "array" in schema

This commit is contained in:
Ivo Verberk
2016-04-25 23:58:31 +02:00
parent 4c5b2f6be5
commit e7efe615fd
3 changed files with 10 additions and 1 deletions

View File

@@ -176,7 +176,7 @@ func (d *DockerDriver) Validate(config map[string]interface{}) error {
Type: fields.TypeString,
},
"labels": &fields.FieldSchema{
Type: fields.TypeMap,
Type: fields.TypeArray,
},
"auth": &fields.FieldSchema{
Type: fields.TypeArray,