- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for destLocMap (0.09 sec)
-
pilot/pkg/networking/core/loadbalancer/loadbalancer.go
// index -> original weight destLocMap := map[int]uint32{} totalWeight := uint32(0) for i, ep := range loadAssignment.Endpoints { if misMatched.Contains(i) { if util.LocalityMatch(ep.Locality, locality) { delete(misMatched, i) if ep.LoadBalancingWeight != nil { destLocMap[i] = ep.LoadBalancingWeight.Value } else { destLocMap[i] = 1 }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 11.8K bytes - Viewed (0)