linkerd2/viz/pkg
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
..
api Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
healthcheck go: Enable `errorlint` checking (#7885) 2022-02-16 18:32:19 -07:00
labels viz: make prom checks dynamic by using annotations (#5680) 2021-02-12 21:25:42 +05:30
util viz: support custom HTTP request methods (#7480) 2021-12-22 21:04:20 +05:30