Commit d6a5209
committed
mount: rm unneeded errorlint annotation
golangci-lint v1.54.2 comes with errorlint v1.4.4, which contains
the fix [1] whitelisting all errno comparisons for errors coming from
x/sys/unix. Remove the annotation that is no longer needed.
Unfortunately, switch on a bare unix error (in mountinfo) still needs to
be annotated (see [2]).
[1] polyfloyd/go-errorlint#47
[2] polyfloyd/go-errorlint#54
Signed-off-by: Kir Kolyshkin <[email protected]>1 parent c8f0d56 commit d6a5209
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments