Skip to content

Commit 473533a

Browse files
authored
Merge pull request kubernetes#130638 from A-transformer/fix_typo_matchexpressions
fix typo
2 parents 08570c7 + decd114 commit 473533a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/scheduler/testing/wrappers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const (
5353

5454
// In injects a matchExpression (with an operator IN) as a selectorTerm
5555
// to the inner nodeSelector.
56-
// NOTE: appended selecterTerms are ORed.
56+
// NOTE: appended selectorTerms are ORed.
5757
func (s *NodeSelectorWrapper) In(key string, vals []string, t NodeSelectorType) *NodeSelectorWrapper {
5858
expression := v1.NodeSelectorRequirement{
5959
Key: key,
@@ -435,7 +435,7 @@ func (p *PodWrapper) NodeAffinityIn(key string, vals []string, t NodeSelectorTyp
435435
return p
436436
}
437437

438-
// NodeAffinityNotIn creates a HARD node affinity (with MatchExpressinos and the operator NotIn)
438+
// NodeAffinityNotIn creates a HARD node affinity (with MatchExpressions and the operator NotIn)
439439
// and injects into the inner pod.
440440
func (p *PodWrapper) NodeAffinityNotIn(key string, vals []string) *PodWrapper {
441441
if p.Spec.Affinity == nil {

0 commit comments

Comments
 (0)