From 2a3b67c20fd8778ccd4a2182e9be8d499f7c00c6 Mon Sep 17 00:00:00 2001 From: "yarntime@163.com" Date: Mon, 12 Dec 2016 14:10:25 +0800 Subject: [PATCH] fix typo --- plugin/pkg/scheduler/algorithm/listers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/pkg/scheduler/algorithm/listers.go b/plugin/pkg/scheduler/algorithm/listers.go index 854b5708c40..6b474c67d66 100644 --- a/plugin/pkg/scheduler/algorithm/listers.go +++ b/plugin/pkg/scheduler/algorithm/listers.go @@ -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) }