From b33897f36d219b644f2222c34730ec29aff228c1 Mon Sep 17 00:00:00 2001 From: zc Date: Tue, 31 Aug 2021 09:07:51 +0800 Subject: [PATCH] modify non-uniform aliases --- .../framework/plugins/tainttoleration/taint_toleration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go b/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go index d9e5f6b0688..6919b1bd228 100644 --- a/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go +++ b/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go @@ -54,7 +54,7 @@ func (pl *TaintToleration) Name() string { // EventsToRegister returns the possible events that may make a Pod // failed by this plugin schedulable. -func (f *TaintToleration) EventsToRegister() []framework.ClusterEvent { +func (pl *TaintToleration) EventsToRegister() []framework.ClusterEvent { return []framework.ClusterEvent{ {Resource: framework.Node, ActionType: framework.Add | framework.UpdateNodeTaint}, }