Skip to content

Commit

Permalink
ci: bump golangci-lint, remove fixed exception
Browse files Browse the repository at this point in the history
The exception was fixed by polyfloyd/go-errorlint#12
which eventually made its way into golangci-lint.

Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin authored and lifubang committed Jul 16, 2023
1 parent b849d11 commit 5fc7791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func ParseGroupFilter(r io.Reader, filter func(Group) bool) ([]Group, error) {
if err != nil {
// We should return no error if EOF is reached
// without a match.
if err == io.EOF { //nolint:errorlint // comparison with io.EOF is legit, https://github.com/polyfloyd/go-errorlint/pull/12
if err == io.EOF {
err = nil
}
return out, err
Expand Down

0 comments on commit 5fc7791

Please sign in to comment.