From 7920de5b57618f03920d5138369e31083fb41f5a Mon Sep 17 00:00:00 2001 From: lixiaobing1 Date: Mon, 20 Jul 2020 16:11:02 +0800 Subject: [PATCH] remove some notes about scheduler/algorithm --- pkg/scheduler/framework/v1alpha1/interface.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/scheduler/framework/v1alpha1/interface.go b/pkg/scheduler/framework/v1alpha1/interface.go index 8427f9b7f7f..dee1bca84b2 100644 --- a/pkg/scheduler/framework/v1alpha1/interface.go +++ b/pkg/scheduler/framework/v1alpha1/interface.go @@ -262,8 +262,7 @@ type FilterPlugin interface { // Filter is called by the scheduling framework. // All FilterPlugins should return "Success" to declare that // the given node fits the pod. If Filter doesn't return "Success", - // please refer scheduler/algorithm/predicates/error.go - // to set error message. + // it will return "Unschedulable", "UnschedulableAndUnresolvable" or "Error". // For the node being evaluated, Filter plugins should look at the passed // nodeInfo reference for this particular node's information (e.g., pods // considered to be running on the node) instead of looking it up in the