Skip to content

Commit 8fd809f

Browse files
authored
xds: remove dependency from WRR to LoadBalancerConfigFactory (#12756)
Addresses #12645 (comment)
1 parent fcb12bd commit 8fd809f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xds/src/main/java/io/grpc/xds/WeightedRoundRobinLoadBalancerProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private ConfigOrError parseLoadBalancingPolicyConfigInternal(Map<String, ?> rawC
8181
Long weightUpdatePeriodNanos = JsonUtil.getStringAsDuration(rawConfig, "weightUpdatePeriod");
8282
Float errorUtilizationPenalty = JsonUtil.getNumberAsFloat(rawConfig, "errorUtilizationPenalty");
8383
List<String> metricNamesForComputingUtilization = JsonUtil.getListOfStrings(rawConfig,
84-
LoadBalancerConfigFactory.METRIC_NAMES_FOR_COMPUTING_UTILIZATION);
84+
"metricNamesForComputingUtilization");
8585

8686
WeightedRoundRobinLoadBalancerConfig.Builder configBuilder =
8787
WeightedRoundRobinLoadBalancerConfig.newBuilder();

0 commit comments

Comments
 (0)