Skip to content

Commit a57f1a9

Browse files
authored
services: fix a local variable name (#6802)
1 parent 6d3ffc7 commit a57f1a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/src/main/java/io/grpc/services/HealthCheckingLoadBalancerFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ protected LoadBalancer delegate() {
181181

182182
@Override
183183
public void handleResolvedAddresses(ResolvedAddresses resolvedAddresses) {
184-
Map<String, ?> serviceConfig =
184+
Map<String, ?> healthCheckingConfig =
185185
resolvedAddresses
186186
.getAttributes()
187187
.get(LoadBalancer.ATTR_HEALTH_CHECKING_CONFIG);
188-
String serviceName = ServiceConfigUtil.getHealthCheckedServiceName(serviceConfig);
188+
String serviceName = ServiceConfigUtil.getHealthCheckedServiceName(healthCheckingConfig);
189189
helper.setHealthCheckedService(serviceName);
190190
super.handleResolvedAddresses(resolvedAddresses);
191191
}

0 commit comments

Comments
 (0)