From 5da8d55e457a42e8153056f44890a7d4c581b6e0 Mon Sep 17 00:00:00 2001 From: lichuqiang Date: Thu, 25 Jan 2018 16:08:13 +0800 Subject: [PATCH] remove unused func in FakeConfigurator of scheduler --- pkg/scheduler/testutil.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkg/scheduler/testutil.go b/pkg/scheduler/testutil.go index 0e0c2eae7ce..4302b913b5f 100644 --- a/pkg/scheduler/testutil.go +++ b/pkg/scheduler/testutil.go @@ -69,11 +69,6 @@ func (fc *FakeConfigurator) MakeDefaultErrorFunc(backoff *util.PodBackoff, podQu return nil } -// ResponsibleForPod is not implemented yet. -func (fc *FakeConfigurator) ResponsibleForPod(pod *v1.Pod) bool { - panic("not implemented") -} - // GetNodeLister is not implemented yet. func (fc *FakeConfigurator) GetNodeLister() corelisters.NodeLister { return nil @@ -89,11 +84,6 @@ func (fc *FakeConfigurator) GetScheduledPodLister() corelisters.PodLister { return nil } -// Run is not implemented yet. -func (fc *FakeConfigurator) Run() { - panic("not implemented") -} - // Create returns FakeConfigurator.Config func (fc *FakeConfigurator) Create() (*Config, error) { return fc.Config, nil