mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-14 02:33:03 +02:00
fix(config/apollo): code style (#1395)
This commit is contained in:
parent
df6bbaa091
commit
112ca9c78a
@ -29,7 +29,7 @@ func (c *customChangeListener) OnNewestChange(changeEvent *storage.FullChangeEve
|
||||
}
|
||||
|
||||
func NewWatcher(a *apollo) (config.Watcher, error) {
|
||||
e:=make(chan []*config.KeyValue)
|
||||
e := make(chan []*config.KeyValue)
|
||||
a.client.AddChangeListener(&customChangeListener{})
|
||||
return &watcher{event: e}, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user