Skip to content

Commit 9ccb20d

Browse files
authored
dev: replace fmt.Errorf by errors.New (#4647)
1 parent b09bd6e commit 9ccb20d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/commands/config_verify.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (c *configCommand) executeVerify(cmd *cobra.Command, _ []string) error {
4747

4848
printValidationDetail(cmd, &detail)
4949

50-
return fmt.Errorf("the configuration contains invalid elements")
50+
return errors.New("the configuration contains invalid elements")
5151
}
5252

5353
return nil

0 commit comments

Comments
 (0)