Skip to content

Commit 44ecd80

Browse files
authored
Merge pull request kubernetes#91557 from chendave/cleanup
cleanup: remove useless methods
2 parents 73375fb + 649523c commit 44ecd80

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

pkg/scheduler/framework/plugins/interpodaffinity/plugin.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ func (pl *InterPodAffinity) Name() string {
4646
return Name
4747
}
4848

49-
// BuildArgs returns the args that were used to build the plugin.
50-
func (pl *InterPodAffinity) BuildArgs() interface{} {
51-
return pl.args
52-
}
53-
5449
// New initializes a new plugin and returns it.
5550
func New(plArgs runtime.Object, h framework.FrameworkHandle) (framework.Plugin, error) {
5651
if h.SnapshotSharedLister() == nil {

pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ func (pl *PodTopologySpread) Name() string {
6060
return Name
6161
}
6262

63-
// BuildArgs returns the arguments used to build the plugin.
64-
func (pl *PodTopologySpread) BuildArgs() interface{} {
65-
return pl.args
66-
}
67-
6863
// New initializes a new plugin and returns it.
6964
func New(plArgs runtime.Object, h framework.FrameworkHandle) (framework.Plugin, error) {
7065
if h.SnapshotSharedLister() == nil {

0 commit comments

Comments
 (0)