Merge current v2.8 into v2.9

This commit is contained in:
kevinpollet 2022-09-16 14:57:07 +02:00
commit 30ec5c58fe
No known key found for this signature in database
GPG key ID: 0C9A5DDD1B292453
4 changed files with 40 additions and 17 deletions

View file

@ -84,6 +84,9 @@ func (p middlewareBuilder) createConfig(config map[string]interface{}) (reflect.
}
vConfig := results[0]
if len(config) == 0 {
return vConfig, nil
}
cfg := &mapstructure.DecoderConfig{
DecodeHook: mapstructure.StringToSliceHookFunc(","),