This commit is contained in:
yarntime@163.com 2016-12-12 14:10:25 +08:00
parent bc28aeb8ef
commit 2a3b67c20f

View File

@ -28,7 +28,7 @@ import (
// NodeLister interface represents anything that can list nodes for a scheduler.
type NodeLister interface {
// 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)
}
@ -43,7 +43,7 @@ func (f FakeNodeLister) List() ([]*v1.Node, error) {
// PodLister interface represents anything that can list pods for a scheduler.
type PodLister interface {
// 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)
}