Skip to content

Commit

Permalink
grpc: Readd pick first name (#7336) (#7341)
Browse files Browse the repository at this point in the history
  • Loading branch information
zasweq authored Jun 21, 2024
1 parent 25e33a6 commit 64be203
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clientconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (

"google.golang.org/grpc/balancer"
"google.golang.org/grpc/balancer/base"
"google.golang.org/grpc/balancer/pickfirst"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/connectivity"
"google.golang.org/grpc/internal"
Expand Down Expand Up @@ -72,6 +73,8 @@ var (
// invalidDefaultServiceConfigErrPrefix is used to prefix the json parsing error for the default
// service config.
invalidDefaultServiceConfigErrPrefix = "grpc: the provided default service config is invalid"
// PickFirstBalancerName is the name of the pick_first balancer.
PickFirstBalancerName = pickfirst.Name
)

// The following errors are returned from Dial and DialContext
Expand Down

0 comments on commit 64be203

Please sign in to comment.