dev: replace fmt.Errorf by errors.New (#4647)

This commit is contained in:
Oleksandr Redko 2024-04-16 17:47:20 +03:00 committed by GitHub
parent b09bd6e4fc
commit 9ccb20d7ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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