We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25e33a6 commit 64be203Copy full SHA for 64be203
clientconn.go
@@ -31,6 +31,7 @@ import (
31
32
"google.golang.org/grpc/balancer"
33
"google.golang.org/grpc/balancer/base"
34
+ "google.golang.org/grpc/balancer/pickfirst"
35
"google.golang.org/grpc/codes"
36
"google.golang.org/grpc/connectivity"
37
"google.golang.org/grpc/internal"
@@ -72,6 +73,8 @@ var (
72
73
// invalidDefaultServiceConfigErrPrefix is used to prefix the json parsing error for the default
74
// service config.
75
invalidDefaultServiceConfigErrPrefix = "grpc: the provided default service config is invalid"
76
+ // PickFirstBalancerName is the name of the pick_first balancer.
77
+ PickFirstBalancerName = pickfirst.Name
78
)
79
80
// The following errors are returned from Dial and DialContext
0 commit comments