fix(config/apollo): code style (#1395)

pull/1396/head
包子 3 years ago committed by GitHub
parent df6bbaa091
commit 112ca9c78a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/apollo/watcher.go

@ -29,7 +29,7 @@ func (c *customChangeListener) OnNewestChange(changeEvent *storage.FullChangeEve
} }
func NewWatcher(a *apollo) (config.Watcher, error) { func NewWatcher(a *apollo) (config.Watcher, error) {
e:=make(chan []*config.KeyValue) e := make(chan []*config.KeyValue)
a.client.AddChangeListener(&customChangeListener{}) a.client.AddChangeListener(&customChangeListener{})
return &watcher{event: e}, nil return &watcher{event: e}, nil
} }

Loading…
Cancel
Save