Bump paerser to v0.1.6
This commit is contained in:
parent
146991efda
commit
b4ee7bdcbe
6 changed files with 11 additions and 94 deletions
|
@ -86,7 +86,7 @@ func (p middlewareBuilder) createConfig(config map[string]interface{}) (reflect.
|
|||
vConfig := results[0]
|
||||
|
||||
cfg := &mapstructure.DecoderConfig{
|
||||
DecodeHook: stringToSliceHookFunc,
|
||||
DecodeHook: mapstructure.StringToSliceHookFunc(","),
|
||||
WeaklyTypedInput: true,
|
||||
Result: vConfig.Interface(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue