From 79f4411d20baa917f119fc603ce3857640feb0dc Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Fri, 2 Dec 2022 13:19:59 -0800 Subject: [PATCH] xds: Remove outdated comment about observing total weight total_weight is deprecated and serves no value. --- xds/src/main/java/io/grpc/xds/XdsRouteConfigureResource.java | 1 - 1 file changed, 1 deletion(-) diff --git a/xds/src/main/java/io/grpc/xds/XdsRouteConfigureResource.java b/xds/src/main/java/io/grpc/xds/XdsRouteConfigureResource.java index d5a0eecc0e..0dfc32f805 100644 --- a/xds/src/main/java/io/grpc/xds/XdsRouteConfigureResource.java +++ b/xds/src/main/java/io/grpc/xds/XdsRouteConfigureResource.java @@ -521,7 +521,6 @@ class XdsRouteConfigureResource extends XdsResourceType { } 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: