fix(config) correctly encode map config

This commit is contained in:
Melchor Garau Madrigal
2020-06-22 16:20:43 +02:00
committed by GitHub
parent 1c780470b5
commit c1ee697a37

View File

@@ -192,8 +192,8 @@ func getSchemaDict(t reflect.Type) schemaDict {
} }
return schemaDict{ return schemaDict{
"type": "map", "type": "map",
"keys": schemaDict{"type": kType}, "keys": kType,
"values": schemaDict{"type": vType}, "values": vType,
} }
case reflect.Struct: case reflect.Struct: