Skip to content

Commit

Permalink
ingore error of etcd member auto sync
Browse files Browse the repository at this point in the history
  • Loading branch information
panli889 committed Mar 6, 2017
1 parent 1d84310 commit 967889b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions store/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ func New(addrs []string, options *store.Config) (store.Store, error) {
// Periodic Cluster Sync
go func() {
for {
if err := c.AutoSync(context.Background(), periodicSync); err != nil {
return
}
c.AutoSync(context.Background(), periodicSync)
}
}()

Expand Down

0 comments on commit 967889b

Please sign in to comment.