Skip to content

Commit

Permalink
Fix get etcd client issue
Browse files Browse the repository at this point in the history
  • Loading branch information
galal-hussein committed Mar 6, 2018
1 parent 0d1b459 commit ce986af
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 ce986af

Please sign in to comment.