Skip to content

Commit

Permalink
Merge pull request #70 from kylin2017/feature/gin
Browse files Browse the repository at this point in the history
FIX
  • Loading branch information
kylin2017 authored Sep 11, 2019
2 parents 8fe4f12 + 2f80784 commit 767f7de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/service/clientV2.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ func (m *ClientEtcdV2) startWatch(chg chan *etcd.Response, path string) {
r, err := m.etcdClient.Get(context.Background(), path, &etcd.GetOptions{Recursive: true, Sort: false})
if err != nil {
slog.Warnf("%s get path:%s err:%s", fun, path, err)
//close(chg)
//return
close(chg)
return

} else {
chg <- r
Expand Down

0 comments on commit 767f7de

Please sign in to comment.