mirror of
https://github.com/Kong/go-pluginserver.git
synced 2025-09-27 04:26:20 +08:00
fix(config) correctly encode map config
This commit is contained in:

committed by
GitHub

parent
1c780470b5
commit
c1ee697a37
@@ -192,8 +192,8 @@ func getSchemaDict(t reflect.Type) schemaDict {
|
||||
}
|
||||
return schemaDict{
|
||||
"type": "map",
|
||||
"keys": schemaDict{"type": kType},
|
||||
"values": schemaDict{"type": vType},
|
||||
"keys": kType,
|
||||
"values": vType,
|
||||
}
|
||||
|
||||
case reflect.Struct:
|
||||
|
Reference in New Issue
Block a user