Skip to content

Commit

Permalink
Merge pull request #519 from atc0005/fix-misc-govet-linting-errors-de…
Browse files Browse the repository at this point in the history
…v-branch

Fix govet linting error raised by updated linter
  • Loading branch information
atc0005 authored Aug 21, 2024
2 parents 0c063a8 + 9e985a4 commit 6cae708
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/config/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
package config

import (
"errors"
"fmt"

"github.com/apex/log"
Expand Down Expand Up @@ -67,7 +68,7 @@ func (c Config) Validate() error {
)
log.Debugf("%s: %v", myFuncName, errMsg)

return fmt.Errorf(errMsg)
return errors.New(errMsg)
}
}

Expand Down

0 comments on commit 6cae708

Please sign in to comment.