diff --git a/pkg/scheduler/framework/plugins/interpodaffinity/plugin.go b/pkg/scheduler/framework/plugins/interpodaffinity/plugin.go index b4953ad4397..b3f3eb908e8 100644 --- a/pkg/scheduler/framework/plugins/interpodaffinity/plugin.go +++ b/pkg/scheduler/framework/plugins/interpodaffinity/plugin.go @@ -46,11 +46,6 @@ func (pl *InterPodAffinity) Name() string { return Name } -// BuildArgs returns the args that were used to build the plugin. -func (pl *InterPodAffinity) BuildArgs() interface{} { - return pl.args -} - // New initializes a new plugin and returns it. func New(plArgs runtime.Object, h framework.FrameworkHandle) (framework.Plugin, error) { if h.SnapshotSharedLister() == nil { diff --git a/pkg/scheduler/framework/plugins/podtopologyspread/plugin.go b/pkg/scheduler/framework/plugins/podtopologyspread/plugin.go index 581eb98a774..3011e52cbe5 100644 --- a/pkg/scheduler/framework/plugins/podtopologyspread/plugin.go +++ b/pkg/scheduler/framework/plugins/podtopologyspread/plugin.go @@ -60,11 +60,6 @@ func (pl *PodTopologySpread) Name() string { return Name } -// BuildArgs returns the arguments used to build the plugin. -func (pl *PodTopologySpread) BuildArgs() interface{} { - return pl.args -} - // New initializes a new plugin and returns it. func New(plArgs runtime.Object, h framework.FrameworkHandle) (framework.Plugin, error) { if h.SnapshotSharedLister() == nil {