remove unused func in FakeConfigurator of scheduler

This commit is contained in:
lichuqiang 2018-01-25 16:08:13 +08:00
parent e78949bd05
commit 5da8d55e45

View File

@ -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