Skip to content

Commit

Permalink
fixed Errorf wrong usage detected by golangci-lint
Browse files Browse the repository at this point in the history
Signed-off-by: devhindo <[email protected]>
  • Loading branch information
devhindo committed Dec 12, 2024
1 parent 93ed423 commit 23e97c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kuma/oam.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func mergeErrors(errs []error) error {
errMsgs = append(errMsgs, err.Error())
}

return fmt.Errorf(strings.Join(errMsgs, "\n"))
return fmt.Errorf("%s", strings.Join(errMsgs, "\n"))
}

func mergeMsgs(strs []string) string {
Expand Down

0 comments on commit 23e97c9

Please sign in to comment.