Skip to content

Commit

Permalink
Merge pull request #2817 from halegreen/fix-some-typo
Browse files Browse the repository at this point in the history
fix some typos
  • Loading branch information
volcano-sh-bot committed Jul 27, 2023
2 parents 2bbaab8 + 8b8564a commit a7f04a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scheduler/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,8 @@ func newSchedulerCache(config *rest.Config, schedulerNames []string, defaultQueu
sc.informerFactory = informerFactory
mySchedulerPodName, c := getMultiSchedulerInfo()

// explictly register informers to the factory, otherwise resources listers cannot get anything
// even with no erorr returned. `Namespace` informer is used by `InterPodAffinity` plugin,
// explicitly register informers to the factory, otherwise resources listers cannot get anything
// even with no error returned. `Namespace` informer is used by `InterPodAffinity` plugin,
// `SelectorSpread` and `PodTopologySpread` plugins uses the following four so far.
informerFactory.Core().V1().Namespaces().Informer()
informerFactory.Core().V1().Services().Informer()
Expand Down

0 comments on commit a7f04a9

Please sign in to comment.