Skip to content

Commit 3fe577e

Browse files
committed
make linter happy
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent f139685 commit 3fe577e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkg/epp/scheduling/scheduler_config.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ type SchedulerConfig struct {
4646
}
4747

4848
// WithPreSchedulePlugins sets the given plugins as the used PreSchedule plugins.
49-
// If the SchedulerConfig has PreSchedule plugins, this call repalces the existing plugins with the given ones.
49+
// If the SchedulerConfig has PreSchedule plugins, this call replaces the existing plugins with the given ones.
5050
func (c *SchedulerConfig) WithPreSchedulePlugins(plugins ...plugins.PreSchedule) *SchedulerConfig {
5151
c.preSchedulePlugins = plugins
5252
return c
5353
}
5454

5555
// WithFilters sets the given filter plugins as the used Filter plugins.
56-
// if the SchedulerConfig has Filter plugins, this call repalces the existing plugins with the given ones.
56+
// if the SchedulerConfig has Filter plugins, this call replaces the existing plugins with the given ones.
5757
func (c *SchedulerConfig) WithFilters(filters ...plugins.Filter) *SchedulerConfig {
5858
c.filters = filters
5959
return c
6060
}
6161

6262
// WithScorers sets the given scorer plugins as the used Scorer plugins.
63-
// if the SchedulerConfig has Scorer plugins, this call repalces the existing plugins with the given ones.
63+
// if the SchedulerConfig has Scorer plugins, this call replaces the existing plugins with the given ones.
6464
func (c *SchedulerConfig) WithScorers(scorers ...*scorer.WeightedScorer) *SchedulerConfig {
6565
scorersMap := make(map[plugins.Scorer]int, len(scorers))
6666
for _, scorer := range scorers {
@@ -71,21 +71,21 @@ func (c *SchedulerConfig) WithScorers(scorers ...*scorer.WeightedScorer) *Schedu
7171
}
7272

7373
// WithPicker sets the given picker plugins as the used Picker plugin.
74-
// if the SchedulerConfig has Picker plugin, this call repalces the existing plugin with the given one.
74+
// if the SchedulerConfig has Picker plugin, this call replaces the existing plugin with the given one.
7575
func (c *SchedulerConfig) WithPicker(picker plugins.Picker) *SchedulerConfig {
7676
c.picker = picker
7777
return c
7878
}
7979

8080
// WithPostSchedulePlugins sets the given plugins as the used PostSchedule plugins.
81-
// If the SchedulerConfig has PostSchedule plugins, this call repalces the existing plugins with the given ones.
81+
// If the SchedulerConfig has PostSchedule plugins, this call replaces the existing plugins with the given ones.
8282
func (c *SchedulerConfig) WithPostSchedulePlugins(plugins ...plugins.PostSchedule) *SchedulerConfig {
8383
c.postSchedulePlugins = plugins
8484
return c
8585
}
8686

8787
// WithPostResponsePlugins sets the given plugins as the used PostResponse plugins.
88-
// If the SchedulerConfig has PostResponse plugins, this call repalces the existing plugins with the given ones.
88+
// If the SchedulerConfig has PostResponse plugins, this call replaces the existing plugins with the given ones.
8989
func (c *SchedulerConfig) WithPostResponsePlugins(plugins ...plugins.PostResponse) *SchedulerConfig {
9090
c.postResponsePlugins = plugins
9191
return c

0 commit comments

Comments
 (0)