Bump paerser to v0.1.6

This commit is contained in:
Ludovic Fernandez 2022-08-01 15:12:08 +02:00 committed by GitHub
parent 146991efda
commit b4ee7bdcbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 94 deletions

View file

@ -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(),
}