Merge current v2.8 into v2.9
This commit is contained in:
commit
30ec5c58fe
4 changed files with 40 additions and 17 deletions
|
@ -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(","),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue