File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ func run() error {
207207 }
208208 schedulerConfig := scheduling .NewSchedulerConfig (
209209 []plugins.PreSchedule {},
210- []plugins.Filter {filter .NewSheddableRequestFilter ()},
210+ []plugins.Filter {filter .NewSheddableCapacityFilter ()},
211211 scorers ,
212212 picker .NewMaxScorePicker (),
213213 []plugins.PostSchedule {},
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ type SchedulerConfig struct {
4848
4949type ConfigOption func (* SchedulerConfig )
5050
51+ // TODO(https://github.com/kubernetes-sigs/gateway-api-inference-extension/issues/813): Replace this
52+ // with a more generic way to add plugins.
5153func AddPrefixPlugin (prefixConfig prefix.Config , weight int ) ConfigOption {
5254 return func (cfg * SchedulerConfig ) {
5355 prefixPlugin := prefix .New (prefixConfig )
You can’t perform that action at this time.
0 commit comments