Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Mar 12, 2024
1 parent f2c634f commit 1119c99
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/search.go
Expand Up @@ -33,7 +33,7 @@ func NewSearchCmd() *cobra.Command {
searchCmd := &cobra.Command{
Use: "search [PATH_TO_PACKAGED_CHART]",
Short: "Search for a Signed Helm Chart",
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, args []string) error {
if len(args) != 1 {
return errors.New("1 argument (Path to packaged chart) is required")
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/upload.go
Expand Up @@ -36,7 +36,7 @@ func NewUploadCmd() *cobra.Command {
uploadCmd := &cobra.Command{
Use: "upload [PATH_TO_PACKAGED_CHART]",
Short: "Upload Signed Helm Chart",
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, args []string) error {
if len(args) != 1 {
return errors.New("1 argument (Path to packaged chart) is required")
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/verify.go
Expand Up @@ -42,7 +42,7 @@ func NewVerifyCmd() *cobra.Command {
verifyCmd := &cobra.Command{
Use: "verify [PATH_TO_PACKAGED_CHART]",
Short: "Verify a Signed Helm Chart",
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, args []string) error {
if len(args) != 1 {
return errors.New("1 argument (Path to packaged chart) is required")
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Expand Up @@ -53,7 +53,7 @@ func NewVersionCmd() *cobra.Command {
versionCmd := &cobra.Command{
Use: "version",
Short: "Print version details",
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
return runVersion(versionOpts)
},
}
Expand Down

0 comments on commit 1119c99

Please sign in to comment.