mirror of https://github.com/grpc/grpc-java.git
services: fix a local variable name (#6802)
This commit is contained in:
parent
6d3ffc7892
commit
a57f1a9636
|
@ -181,11 +181,11 @@ final class HealthCheckingLoadBalancerFactory extends Factory {
|
|||
|
||||
@Override
|
||||
public void handleResolvedAddresses(ResolvedAddresses resolvedAddresses) {
|
||||
Map<String, ?> serviceConfig =
|
||||
Map<String, ?> healthCheckingConfig =
|
||||
resolvedAddresses
|
||||
.getAttributes()
|
||||
.get(LoadBalancer.ATTR_HEALTH_CHECKING_CONFIG);
|
||||
String serviceName = ServiceConfigUtil.getHealthCheckedServiceName(serviceConfig);
|
||||
String serviceName = ServiceConfigUtil.getHealthCheckedServiceName(healthCheckingConfig);
|
||||
helper.setHealthCheckedService(serviceName);
|
||||
super.handleResolvedAddresses(resolvedAddresses);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue