Skip to content

Commit db83247

Browse files
refactor: reduce unnessary subroutines
Signed-off-by: Peter Tran <[email protected]>
1 parent d9ae7b5 commit db83247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/k8s_util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ func (hsr *httpServerReadiness) spawnProberPool(resultsCh chan *probeResult) {
11291129

11301130
// Tested value as the upper limit for running locally with minimal impacts to CI speeds
11311131
proberRateLimit := 150
1132-
for range proberRateLimit {
1132+
for range min(proberRateLimit, hsr.numProbes()) {
11331133
go startProber()
11341134
}
11351135
}

0 commit comments

Comments
 (0)