mirror of https://github.com/grpc/grpc-go.git
parent
a0be99ad32
commit
ab909771a0
|
|
@ -603,6 +603,7 @@ func (cc *ClientConn) updateResolverState(s resolver.State) error {
|
|||
} else if cc.balancerWrapper == nil {
|
||||
// Balancer dial option was set, and this is the first time handling
|
||||
// resolved addresses. Build a balancer with dopts.balancerBuilder.
|
||||
cc.curBalancerName = cc.dopts.balancerBuilder.Name()
|
||||
cc.balancerWrapper = newCCBalancerWrapper(cc, cc.dopts.balancerBuilder, cc.balancerBuildOpts)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue