mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #38601 from yarntime/fix_typo_needed
Automatic merge from submit-queue (batch tested with PRs 40405, 38601, 40083, 40730) fix typo **What this PR does / why we need it**: fix typo. **Release note**: ```NONE ```
This commit is contained in:
commit
abbb3fa72f
@ -28,7 +28,7 @@ import (
|
|||||||
// NodeLister interface represents anything that can list nodes for a scheduler.
|
// NodeLister interface represents anything that can list nodes for a scheduler.
|
||||||
type NodeLister interface {
|
type NodeLister interface {
|
||||||
// We explicitly return []*v1.Node, instead of v1.NodeList, to avoid
|
// We explicitly return []*v1.Node, instead of v1.NodeList, to avoid
|
||||||
// performing expensive copies that are unneded.
|
// performing expensive copies that are unneeded.
|
||||||
List() ([]*v1.Node, error)
|
List() ([]*v1.Node, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ func (f FakeNodeLister) List() ([]*v1.Node, error) {
|
|||||||
// PodLister interface represents anything that can list pods for a scheduler.
|
// PodLister interface represents anything that can list pods for a scheduler.
|
||||||
type PodLister interface {
|
type PodLister interface {
|
||||||
// We explicitly return []*v1.Pod, instead of v1.PodList, to avoid
|
// We explicitly return []*v1.Pod, instead of v1.PodList, to avoid
|
||||||
// performing expensive copies that are unneded.
|
// performing expensive copies that are unneeded.
|
||||||
List(labels.Selector) ([]*v1.Pod, error)
|
List(labels.Selector) ([]*v1.Pod, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user