Skip to content

Commit 0668a03

Browse files
committed
fix in comment
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent af12522 commit 0668a03

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
@@ -81,7 +81,7 @@ func (p *RandomPicker) Pick(ctx context.Context, _ *types.CycleState, scoredPods
8181
scoredPods[i], scoredPods[j] = scoredPods[j], scoredPods[i]
8282
})
8383

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

0 commit comments

Comments
 (0)