Skip to content

Commit

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

Fix govet linting error raised by updated linter
  • Loading branch information
atc0005 authored Aug 21, 2024
2 parents 7e19ce3 + b30f1c7 commit 5b78309
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 5b78309

Please sign in to comment.