- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for atMostNJoin (0.16 sec)
-
pilot/pkg/xds/util.go
// See the License for the specific language governing permissions and // limitations under the License. package xds import ( "fmt" "strings" ) func atMostNJoin(data []string, limit int) string { if limit == 0 || limit == 1 { // Assume limit >1, but make sure we dpn't crash if someone does pass those return strings.Join(data, ", ") } if len(data) == 0 { return ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 1021 bytes - Viewed (0) -
pilot/pkg/xds/util_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 1.2K bytes - Viewed (0)