Skip to content

Commit 78fd722

Browse files
committed
Update cmd/skytest/client.go
1 parent c9bf574 commit 78fd722

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/skytest/client.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ var (
3838

3939
func startSkylb(sid vexpb.ServiceId) (skylb.ServiceCli, pb.SkytestClient, hpb.HealthClient) {
4040
skycli := skylb.NewServiceCli(vexpb.ServiceId_SHARED_TEST_CLIENT_SERVICE)
41-
skycli.Resolve(skylb.NewServiceSpec(skylb.DefaultNameSpace, sid, skylb.DefaultPortName),
42-
grpc.WithDefaultServiceConfig(`{"loadBalancingConfig": [{"round_robin": {}}]}`))
41+
options := []grpc.DialOption{}
42+
// options = append(options, grpc.WithDefaultServiceConfig(`{"loadBalancingConfig": [{"round_robin": {}}]}`))
43+
skycli.Resolve(skylb.NewServiceSpec(skylb.DefaultNameSpace, sid, skylb.DefaultPortName), options...)
4344
skycli.EnableHistogram()
4445
var cli pb.SkytestClient
4546
var healthCli hpb.HealthClient

0 commit comments

Comments
 (0)