grpc: remove mentions of WithBalancerName from comments (#5555)
This commit is contained in:

committed by
GitHub

parent
a077b94683
commit
9bc72deba4
@ -57,10 +57,9 @@ type lbConfig struct {
|
||||
type ServiceConfig struct {
|
||||
serviceconfig.Config
|
||||
|
||||
// LB is the load balancer the service providers recommends. The balancer
|
||||
// specified via grpc.WithBalancerName will override this. This is deprecated;
|
||||
// lbConfigs is preferred. If lbConfig and LB are both present, lbConfig
|
||||
// will be used.
|
||||
// LB is the load balancer the service providers recommends. This is
|
||||
// deprecated; lbConfigs is preferred. If lbConfig and LB are both present,
|
||||
// lbConfig will be used.
|
||||
LB *string
|
||||
|
||||
// lbConfig is the service config's load balancing configuration. If
|
||||
|
@ -1917,8 +1917,6 @@ func (s) TestCZTraceOverwriteChannelDeletion(t *testing.T) {
|
||||
czCleanup := channelz.NewChannelzStorageForTesting()
|
||||
defer czCleanupWrapper(czCleanup, t)
|
||||
e := tcpClearRREnv
|
||||
// avoid newTest using WithBalancerName, which would override service
|
||||
// config's change of balancer below.
|
||||
e.balancer = ""
|
||||
te := newTest(t, e)
|
||||
channelz.SetMaxTraceEntry(1)
|
||||
|
Reference in New Issue
Block a user