Skip to content

Commit

Permalink
Fix linting warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlong committed Sep 9, 2024
1 parent db255ac commit 990ab35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer/async.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func (c *Consumer) Close() error {
}

if len(errStrings) > 0 {
return fmt.Errorf(strings.Join(errStrings, ", "))
return errors.New(strings.Join(errStrings, ", "))
}

return nil
Expand Down

0 comments on commit 990ab35

Please sign in to comment.