- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for scaleEndpointLBWeight (0.31 sec)
-
pilot/pkg/xds/endpoints/ep_filters.go
} // Copy the endpoint in order to expand the load balancing weight. // When multiplying, be careful to avoid overflow - clipping the // result at the maximum value for uint32. weight := b.scaleEndpointLBWeight(lbEp, scaleFactor) if lbEp.GetLoadBalancingWeight().GetValue() != weight { lbEp = proto.Clone(lbEp).(*endpoint.LbEndpoint) lbEp.LoadBalancingWeight = &wrappers.UInt32Value{ Value: weight, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 9.1K bytes - Viewed (0)