Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getConf (0.13 sec)

  1. pilot/pkg/networking/util/util.go

    func LbPriority(proxyLocality, endpointsLocality *core.Locality) int {
    	if proxyLocality.GetRegion() == endpointsLocality.GetRegion() {
    		if proxyLocality.GetZone() == endpointsLocality.GetZone() {
    			if proxyLocality.GetSubZone() == endpointsLocality.GetSubZone() {
    				return 0
    			}
    			return 1
    		}
    		return 2
    	}
    	return 3
    }
    
    // return a shallow copy ClusterLoadAssignment
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top