etcdserver/cluster_util.go
func isMemberBootstrapped(lg *zap.Logger, cl *membership.RaftCluster, member string, rt http.RoundTripper, timeout time.Duration) bool {
	rcl, err := getClusterFromRemotePeers(lg, getRemotePeerURLs(cl, member), timeout, false, rt)
	if err != nil {
		return false
	}
	id := cl.MemberByName(member).ID
	m := rcl.Member(id)
	if m == nil {
		return false
	}
	if len(m.ClientURLs) > 0 {
		return true
	}
	return false
}
func isMemberBootstrapped(lg *zap.Logger, cl *membership.RaftCluster, member string, rt http.RoundTripper, timeout time.Duration) bool {
	rcl, err := getClusterFromRemotePeers(lg, getRemotePeerURLs(cl, member), timeout, false, rt)
	if err != nil {
		return false
	}
	id := cl.MemberByName(member).ID
	m := rcl.Member(id)
	if m == nil {
		return false
	}
	if len(m.ClientURLs) > 0 {
		return true
	}
	return false
}
func isMemberBootstrapped ( lg * zap . Logger , cl * membership . RaftCluster , member string , rt http . RoundTripper , timeout time . Duration ) bool { rcl , err := getClusterFromRemotePeers ( lg , getRemotePeerURLs ( cl , member ) , timeout , false , rt ) if err != nil { return false } id := cl . MemberByName ( member ) . ID m := rcl . Member ( id ) if m == nil { return false } if len ( m . ClientURLs ) > 0 { return true } return false }
// isMemberBootstrapped tries to check if the given member has been bootstrapped
// in the given cluster.
isMemberBootstrapped tries to check if the given member has been bootstrapped in the given cluster .