Skip to content

Commit 7452467

Browse files
committed
ci: bump golangci-lint, remove fixed exception
The exception was fixed by polyfloyd/go-errorlint#12 which eventually made its way into golangci-lint. Signed-off-by: Kir Kolyshkin <[email protected]> (cherry picked from commit 98317c1) Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 7b2571d commit 7452467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcontainer/user/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func ParseGroupFilter(r io.Reader, filter func(Group) bool) ([]Group, error) {
201201
if err != nil {
202202
// We should return no error if EOF is reached
203203
// without a match.
204-
if err == io.EOF { //nolint:errorlint // comparison with io.EOF is legit, https://github.com/polyfloyd/go-errorlint/pull/12
204+
if err == io.EOF {
205205
err = nil
206206
}
207207
return out, err

0 commit comments

Comments
 (0)