mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-27 11:53:53 +00:00
Merge pull request #104805 from chendave/typos
Fix couple of incorrect description
This commit is contained in:
@@ -92,7 +92,7 @@ func (pl *SelectorSpread) Score(ctx context.Context, state *framework.CycleState
|
|||||||
|
|
||||||
s, ok := c.(*preScoreState)
|
s, ok := c.(*preScoreState)
|
||||||
if !ok {
|
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)
|
nodeInfo, err := pl.sharedLister.NodeInfos().Get(nodeName)
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ func (f *FakeExtender) IsBinder() bool {
|
|||||||
return true
|
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 {
|
func (f *FakeExtender) IsInterested(pod *v1.Pod) bool {
|
||||||
return !f.UnInterested
|
return !f.UnInterested
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user