xds: Remove outdated comment about observing total weight

total_weight is deprecated and serves no value.
This commit is contained in:
Eric Anderson 2022-12-02 13:19:59 -08:00
parent c87fc05224
commit 79f4411d20
1 changed files with 0 additions and 1 deletions

View File

@ -521,7 +521,6 @@ class XdsRouteConfigureResource extends XdsResourceType<RdsUpdate> {
}
weightedClusters.add(clusterWeightOrError.getStruct());
}
// TODO(chengyuanzhang): validate if the sum of weights equals to total weight.
return StructOrError.fromStruct(VirtualHost.Route.RouteAction.forWeightedClusters(
weightedClusters, hashPolicies, timeoutNano, retryPolicy));
case CLUSTER_SPECIFIER_PLUGIN: