mirror of
https://github.com/Kong/go-pluginserver.git
synced 2025-10-06 08:37:15 +08:00
fix(config) correctly encode array config (#20)
This commit is contained in:
@@ -181,7 +181,7 @@ func getSchemaDict(t reflect.Type) schemaDict {
|
|||||||
}
|
}
|
||||||
return schemaDict{
|
return schemaDict{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"elements": schemaDict{"type": elemType},
|
"elements": elemType,
|
||||||
}
|
}
|
||||||
|
|
||||||
case reflect.Map:
|
case reflect.Map:
|
||||||
|
Reference in New Issue
Block a user