Fix couple of incorrect description

Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
Dave Chen
2021-09-07 11:20:16 +08:00
parent eb729620c5
commit 6e1835b83b
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ func (pl *SelectorSpread) Score(ctx context.Context, state *framework.CycleState
s, ok := c.(*preScoreState)
if !ok {
return 0, framework.AsStatus(fmt.Errorf("cannot convert saved state to tainttoleration.preScoreState"))
return 0, framework.AsStatus(fmt.Errorf("cannot convert saved state to selectorspread.preScoreState"))
}
nodeInfo, err := pl.sharedLister.NodeInfos().Get(nodeName)

View File

@@ -368,7 +368,7 @@ func (f *FakeExtender) IsBinder() bool {
return true
}
// IsInterested returns a bool true indicating whether extender
// IsInterested returns a bool indicating whether this extender is interested in this Pod.
func (f *FakeExtender) IsInterested(pod *v1.Pod) bool {
return !f.UnInterested
}