etcdserver/api/v2discovery/discovery.go
func GetCluster(lg *zap.Logger, durl, dproxyurl string) (string, error) {
	d, err := newDiscovery(lg, durl, dproxyurl, 0)
	if err != nil {
		return "", err
	}
	return d.getCluster()
}
func GetCluster(lg *zap.Logger, durl, dproxyurl string) (string, error) {
	d, err := newDiscovery(lg, durl, dproxyurl, 0)
	if err != nil {
		return "", err
	}
	return d.getCluster()
}
func GetCluster ( lg * zap . Logger , durl , dproxyurl string ) ( string , error ) { d , err := newDiscovery ( lg , durl , dproxyurl , 0 ) if err != nil { return " " , err } return d . getCluster ( ) }
// GetCluster will connect to the discovery service at the given url and
// retrieve a string describing the cluster
GetCluster will connect to the discovery service at the given url and retrieve a string describing the cluster