Skip to content
Snippets Groups Projects
Commit 6dc2295f authored by YGrylls's avatar YGrylls
Browse files

fix getProviderConfig in initHystrixConfigProvider

parent d0bfafb4
No related branches found
No related tags found
No related merge requests found
......@@ -234,7 +234,7 @@ func initHystrixConfigProvider() error {
if config.GetProviderConfig().FilterConf == nil {
return perrors.Errorf("no config for hystrix")
}
filterConfig := config.GetConsumerConfig().FilterConf.(map[interface{}]interface{})[HYSTRIX]
filterConfig := config.GetProviderConfig().FilterConf.(map[interface{}]interface{})[HYSTRIX]
if filterConfig == nil {
return perrors.Errorf("no config for hystrix")
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment