Skip to content
Snippets Groups Projects
Commit d452e5c4 authored by 邹毅贤's avatar 邹毅贤
Browse files

fix review comment

parent 227441c8
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ type apolloListener struct {
listeners map[config_center.ConfigurationListener]struct{}
}
// newApolloListener ...
// nolint
func newApolloListener() *apolloListener {
return &apolloListener{
listeners: make(map[config_center.ConfigurationListener]struct{}, 0),
......@@ -45,7 +45,7 @@ func (a *apolloListener) OnChange(changeEvent *storage.ChangeEvent) {
}
// OnNewestChange ...
// OnNewestChange process each listener by all changes
func (a *apolloListener) OnNewestChange(changeEvent *storage.FullChangeEvent) {
b, err := yaml.Marshal(changeEvent.Changes)
if err != nil {
......
......@@ -30,7 +30,7 @@ require (
github.com/prometheus/client_golang v1.1.0
github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b
github.com/stretchr/testify v1.5.1
github.com/zouyx/agollo/v3 v3.4.3
github.com/zouyx/agollo/v3 v3.4.4
go.etcd.io/bbolt v1.3.3 // indirect
go.etcd.io/etcd v3.3.13+incompatible
go.uber.org/atomic v1.4.0
......
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