Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for destLocMap (0.09 sec)

  1. 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)
Back to top