Skip to content

Commit

Permalink
rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed May 22, 2023
1 parent 5021fdf commit 23ff039
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions balancer_conn_wrappers.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ func (ccb *ccBalancerWrapper) updateClientConnState(ccs *balancer.ClientConnStat
// updateSubConnState is invoked by grpc to push a subConn state update to the
// underlying balancer.
func (ccb *ccBalancerWrapper) updateSubConnState(sc balancer.SubConn, s connectivity.State, err error) {
ccb.mu.Lock()
ccb.serializer.Schedule(func(_ context.Context) {
ccb.balancer.UpdateSubConnState(sc, balancer.SubConnState{ConnectivityState: s, ConnectionError: err})
})
ccb.mu.Unlock()
}

func (ccb *ccBalancerWrapper) resolverError(err error) {
Expand Down

0 comments on commit 23ff039

Please sign in to comment.