Run a more strict formatter over the code (#11312)

* Update tooling

* Run gofumpt

* go mod vendor
This commit is contained in:
Brian Kassouf
2021-04-08 09:43:39 -07:00
committed by GitHub
parent 60f3ba99a4
commit a24653cc5c
658 changed files with 10961 additions and 3671 deletions

View File

@@ -14,8 +14,10 @@ import (
"github.com/ryanuber/columnize"
)
var _ cli.Command = (*OperatorUsageCommand)(nil)
var _ cli.CommandAutocomplete = (*OperatorUsageCommand)(nil)
var (
_ cli.Command = (*OperatorUsageCommand)(nil)
_ cli.CommandAutocomplete = (*OperatorUsageCommand)(nil)
)
type OperatorUsageCommand struct {
*BaseCommand
@@ -240,7 +242,6 @@ func (c *OperatorUsageCommand) parseNamespaceCount(rawVal interface{}) (UsageRes
}
return ret, nil
}
func (c *OperatorUsageCommand) namespacesOutput(data map[string]interface{}) []string {