Skip to content

Commit bd6c559

Browse files
committed
fix in comment
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent 57945b3 commit bd6c559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/epp/scheduling/framework/plugins/picker/random_picker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (p *RandomPicker) Pick(ctx context.Context, _ *types.CycleState, scoredPods
9494
scoredPods[i], scoredPods[j] = scoredPods[j], scoredPods[i]
9595
})
9696

97-
// if we have enough pods to return keep only the "maxNumOfEndpoints" highest scored pods
97+
// if we have enough pods to return keep only the relevant subset
9898
if p.maxNumOfEndpoints < len(scoredPods) {
9999
scoredPods = scoredPods[:p.maxNumOfEndpoints]
100100
}

0 commit comments

Comments
 (0)