diff --git a/plugin/pkg/scheduler/factory/plugins.go b/plugin/pkg/scheduler/factory/plugins.go index 031cd31ee25..e53c24f0b18 100644 --- a/plugin/pkg/scheduler/factory/plugins.go +++ b/plugin/pkg/scheduler/factory/plugins.go @@ -71,8 +71,8 @@ func RegisterCustomFitPredicate(policy schedulerapi.PredicatePolicy) string { } else if policy.Argument.LabelsPresence != nil { predicate = algorithm.NewNodeLabelPredicate(MinionLister, policy.Argument.LabelsPresence.Labels, policy.Argument.LabelsPresence.Presence) } - // check to see if a pre-defined predicate is requested } else if predicate, ok = fitPredicateMap[policy.Name]; ok { + // checking to see if a pre-defined predicate is requested glog.V(2).Infof("Predicate type %s already registered, reusing.", policy.Name) }