dev: replace fmt.Errorf by errors.New (#4647)
This commit is contained in:
parent
b09bd6e4fc
commit
9ccb20d7ba
@ -47,7 +47,7 @@ func (c *configCommand) executeVerify(cmd *cobra.Command, _ []string) error {
|
|||||||
|
|
||||||
printValidationDetail(cmd, &detail)
|
printValidationDetail(cmd, &detail)
|
||||||
|
|
||||||
return fmt.Errorf("the configuration contains invalid elements")
|
return errors.New("the configuration contains invalid elements")
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user