Merge pull request #91557 from chendave/cleanup

cleanup: remove useless methods
This commit is contained in:
Kubernetes Prow Robot 2020-09-08 06:27:44 -07:00 committed by GitHub
commit 44ecd80cf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View File

@ -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 {

View File

@ -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 {