weighted-clusters: validate that total sum of weights below max int (#24986)
Adds additional validation that the sum of weights of weighted clusters in a route does not exceed max uint32. Risk Level: low - although this is a new validation, previously there was a similar validation when total_weight was used. Testing: Added unit test Signed-off-by: Adi Suissa-Peleg <adip@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 0a2f59240b4b005be0a9a5824c5e6c1604028d86pull/626/head
parent
c5f3a6e900
commit
ac99b90241
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue