linkerd2/test/integration/external
Oliver Gould f5876c2a98
go: Enable `errorlint` checking (#7885)
Since Go 1.13, errors may "wrap" other errors. [`errorlint`][el] checks
that error formatting and inspection is wrapping-aware.

This change enables `errorlint` in golangci-lint and updates all error
handling code to pass the lint. Some comparisons in tests have been left
unchanged (using `//nolint:errorlint` comments).

[el]: https://github.com/polyfloyd/go-errorlint

Signed-off-by: Oliver Gould <ver@buoyant.io>
2022-02-16 18:32:19 -07:00
..
externalissuer go: Enable `errorlint` checking (#7885) 2022-02-16 18:32:19 -07:00
externalresources go: Enable `errorlint` checking (#7885) 2022-02-16 18:32:19 -07:00
stat go: Enable `errorlint` checking (#7885) 2022-02-16 18:32:19 -07:00
testdata Isolate integration tests into suites (#7721) 2022-02-02 17:19:08 +00:00
install_test.go go: Enable `errorlint` checking (#7885) 2022-02-16 18:32:19 -07:00