Skip to content

Commit

Permalink
fix unused-parameter revive finding
Browse files Browse the repository at this point in the history
  • Loading branch information
druppelt committed Sep 11, 2024
1 parent a054188 commit cb91641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kuota-calc.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func NewKuotaCalcCmd(version *Version, streams genericclioptions.IOStreams) *cob
Short: "Calculate the resource quota needs of your deployment(s).",
Example: fmt.Sprintf(kuotaCalcExample, "kuota-calc"),
SilenceUsage: true,
RunE: func(c *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, args []string) error {

Check failure on line 52 in cmd/kuota-calc.go

View workflow job for this annotation

GitHub Actions / lint

unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
if opts.version {
return opts.printVersion()
}
Expand Down

0 comments on commit cb91641

Please sign in to comment.