- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getURILength (0.15 sec)
-
pilot/pkg/config/kube/gateway/conversion.go
return true } // Only look at match[0], we always generate only one match m1, m2 := routes[i].Match[0], routes[j].Match[0] r1, r2 := getURIRank(m1), getURIRank(m2) len1, len2 := getURILength(m1), getURILength(m2) switch { // 1: Exact/Prefix/Regex case r1 != r2: return r1 > r2 case len1 != len2: return len1 > len2 // 2: method math case (m1.Method == nil) != (m2.Method == nil):
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0)