Skip to content
Snippets Groups Projects
Commit 844e6f19 authored by lihaowei's avatar lihaowei
Browse files

Imp: three improvements

parent fe0f036b
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ func createDynamicConfigurationFactory() config_center.DynamicConfigurationFacto
type apolloConfigurationFactory struct{}
// GetDynamicConfiguration returns the dynamic configuration
// GetDynamicConfiguration gets the dynamic configuration
func (f *apolloConfigurationFactory) GetDynamicConfiguration(url *common.URL) (config_center.DynamicConfiguration, error) {
dynamicConfiguration, err := newApolloConfiguration(url)
if err != nil {
......
......@@ -65,7 +65,7 @@ func (ef *EchoFilter) OnResponse(_ context.Context, result protocol.Result, _ pr
return result
}
// GetFilter returns the Filter
// GetFilter gets the Filter
func GetFilter() filter.Filter {
return &EchoFilter{}
}
......@@ -26,7 +26,7 @@ import (
)
import (
"reflect"
reflect "reflect"
)
// MockTpsLimitStrategy is a mock of TpsLimitStrategy interface
......
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