Skip to content

Commit

Permalink
Lint: Resolve unused-parameter error
Browse files Browse the repository at this point in the history
Signed-off-by: Knut Ahlers <[email protected]>
  • Loading branch information
Luzifer committed Mar 2, 2024
1 parent dd40078 commit 3df42cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ots-cli/cmd_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
var versionCmd = &cobra.Command{
Use: "version",
Short: "Displays the tool version",
Run: func(cmd *cobra.Command, args []string) {
Run: func(*cobra.Command, []string) {
fmt.Printf("ots-cli %s\n", version) //nolint:forbidigo
},
}
Expand Down

0 comments on commit 3df42cb

Please sign in to comment.