fix: code style (#1342)

pull/1367/head
包子 3 years ago committed by GitHub
parent b44e47b087
commit 817c13a80c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      config/env/watcher.go

@ -20,10 +20,8 @@ func NewWatcher() (config.Watcher, error) {
// Next will be blocked until the Stop method is called
func (w *watcher) Next() ([]*config.KeyValue, error) {
select {
case <-w.ctx.Done():
<-w.ctx.Done()
return nil, w.ctx.Err()
}
}
func (w *watcher) Stop() error {

Loading…
Cancel
Save