Skip to content

Commit

Permalink
dev: replace fmt.Errorf by errors.New (#4647)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Apr 16, 2024
1 parent b09bd6e commit 9ccb20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/config_verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (c *configCommand) executeVerify(cmd *cobra.Command, _ []string) error {

printValidationDetail(cmd, &detail)

return fmt.Errorf("the configuration contains invalid elements")
return errors.New("the configuration contains invalid elements")
}

return nil
Expand Down

0 comments on commit 9ccb20d

Please sign in to comment.