We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5030b63 commit f139685Copy full SHA for f139685
pkg/epp/scheduling/scheduler_config.go
@@ -97,7 +97,7 @@ func (c *SchedulerConfig) AddPlugins(pluginObjects ...plugins.Plugin) error {
97
for _, plugin := range pluginObjects {
98
if weightedScorer, ok := plugin.(*scorer.WeightedScorer); ok {
99
c.scorers[weightedScorer.Scorer] = weightedScorer.Weight()
100
- plugin = weightedScorer.Scorer // if we got WeightScorer, unwrap the plugin
+ plugin = weightedScorer.Scorer // if we got WeightedScorer, unwrap the plugin
101
}
102
if preSchedulePlugin, ok := plugin.(plugins.PreSchedule); ok {
103
c.preSchedulePlugins = append(c.preSchedulePlugins, preSchedulePlugin)
0 commit comments