Skip to content

Commit

Permalink
Merge pull request #407 from galal-hussein/fix_etcd_client
Browse files Browse the repository at this point in the history
Fix get etcd client issue
  • Loading branch information
Alena Prokharchyk authored Mar 6, 2018
2 parents 0d1b459 + ce986af commit 83b7ed0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ func IsEtcdMember(ctx context.Context, etcdHost *hosts.Host, etcdHosts []*hosts.
return true, nil
}
}
// reset the list of errors to handle new hosts
listErr = nil
break
}
if listErr != nil {
return false, listErr
Expand Down

0 comments on commit 83b7ed0

Please sign in to comment.