|
|
@ -165,7 +165,7 @@ func dial(ctx context.Context, insecure bool, opts ...ClientOption) (*grpc.Clien |
|
|
|
sints = append(sints, options.streamInts...) |
|
|
|
sints = append(sints, options.streamInts...) |
|
|
|
} |
|
|
|
} |
|
|
|
grpcOpts := []grpc.DialOption{ |
|
|
|
grpcOpts := []grpc.DialOption{ |
|
|
|
grpc.WithDefaultServiceConfig(fmt.Sprintf(`{"loadBalancingConfig": [{"%s":{}}]}`, options.balancerName)), |
|
|
|
grpc.WithDefaultServiceConfig(fmt.Sprintf(`{"loadBalancingConfig": [{"%s":{}}],"healthCheckConfig":{"serviceName":""}}`, options.balancerName)), |
|
|
|
grpc.WithChainUnaryInterceptor(ints...), |
|
|
|
grpc.WithChainUnaryInterceptor(ints...), |
|
|
|
grpc.WithChainStreamInterceptor(sints...), |
|
|
|
grpc.WithChainStreamInterceptor(sints...), |
|
|
|
} |
|
|
|
} |
|
|
|