Merge pull request #110493 from xiaomudk/remove-parentheses

clean: remove useless parentheses
This commit is contained in:
Kubernetes Prow Robot
2022-06-13 06:44:22 -07:00
committed by GitHub
5 changed files with 9 additions and 19 deletions

View File

@@ -72,10 +72,8 @@ var _ framework.PreScorePlugin = &PodTopologySpread{}
var _ framework.ScorePlugin = &PodTopologySpread{}
var _ framework.EnqueueExtensions = &PodTopologySpread{}
const (
// Name is the name of the plugin used in the plugin registry and configurations.
Name = names.PodTopologySpread
)
// Name is the name of the plugin used in the plugin registry and configurations.
const Name = names.PodTopologySpread
// Name returns name of the plugin. It is used in logs, etc.
func (pl *PodTopologySpread) Name() string {