Skip to content

Commit

Permalink
error on UpdateSubConnState
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed Aug 1, 2023
1 parent 1b6e328 commit 710e2f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pickfirst.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ func (b *pickfirstBalancer) UpdateClientConnState(state balancer.ClientConnState
// UpdateSubConnState is unused as a StateListener is always registered when
// creating SubConns.
func (b *pickfirstBalancer) UpdateSubConnState(subConn balancer.SubConn, state balancer.SubConnState) {
b.logger.Errorf("UpdateSubConnState(%v, %+v) called unexpectedly", subConn, state)
}

func (b *pickfirstBalancer) updateSubConnState(subConn balancer.SubConn, state balancer.SubConnState) {
Expand Down

0 comments on commit 710e2f9

Please sign in to comment.