(cc balancer.ClientConn, opts balancer.BuildOptions)
| 47 | } |
| 48 | |
| 49 | func (bb builder) Build(cc balancer.ClientConn, opts balancer.BuildOptions) balancer.Balancer { |
| 50 | childBuilder := balancer.Get(pickfirst.Name).Build |
| 51 | bal := &rrBalancer{ |
| 52 | cc: cc, |
| 53 | Balancer: endpointsharding.NewBalancer(cc, opts, childBuilder, endpointsharding.Options{}), |
| 54 | } |
| 55 | bal.logger = internalgrpclog.NewPrefixLogger(logger, fmt.Sprintf("[%p] ", bal)) |
| 56 | bal.logger.Infof("Created") |
| 57 | return bal |
| 58 | } |
| 59 | |
| 60 | type rrBalancer struct { |
| 61 | balancer.Balancer |
nothing calls this directly
no test coverage detected