clean: remove useless parentheses

This commit is contained in:
xiaomudk
2022-06-10 00:09:50 +08:00
parent 7c127b33da
commit 5826cae547
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 {