mirror of https://github.com/grpc/grpc-java.git
xds: Remove outdated comment about observing total weight
total_weight is deprecated and serves no value.
This commit is contained in:
parent
c87fc05224
commit
79f4411d20
|
|
@ -521,7 +521,6 @@ class XdsRouteConfigureResource extends XdsResourceType<RdsUpdate> {
|
||||||
}
|
}
|
||||||
weightedClusters.add(clusterWeightOrError.getStruct());
|
weightedClusters.add(clusterWeightOrError.getStruct());
|
||||||
}
|
}
|
||||||
// TODO(chengyuanzhang): validate if the sum of weights equals to total weight.
|
|
||||||
return StructOrError.fromStruct(VirtualHost.Route.RouteAction.forWeightedClusters(
|
return StructOrError.fromStruct(VirtualHost.Route.RouteAction.forWeightedClusters(
|
||||||
weightedClusters, hashPolicies, timeoutNano, retryPolicy));
|
weightedClusters, hashPolicies, timeoutNano, retryPolicy));
|
||||||
case CLUSTER_SPECIFIER_PLUGIN:
|
case CLUSTER_SPECIFIER_PLUGIN:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue