Skip to content

Commit cf9e380

Browse files
authored
picker_wrapper: simplify picker error when timing out waiting for con… (#8035)
1 parent 9d4fa67 commit cf9e380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

picker_wrapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func (pw *pickerWrapper) pick(ctx context.Context, failfast bool, info balancer.
123123
if lastPickErr != nil {
124124
errStr = "latest balancer error: " + lastPickErr.Error()
125125
} else {
126-
errStr = fmt.Sprintf("received context error while waiting for new LB policy update: %s", ctx.Err().Error())
126+
errStr = fmt.Sprintf("%v while waiting for connections to become ready", ctx.Err())
127127
}
128128
switch ctx.Err() {
129129
case context.DeadlineExceeded:

0 commit comments

Comments
 (0)