linkerd2/web
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
..
app build(deps-dev): bump @babel/runtime from 7.17.0 to 7.17.2 in /web/app (#7880) 2022-02-14 10:09:07 -08:00
srv go: Enable `errorlint` checking (#7885) 2022-02-16 18:32:19 -07:00
templates Add dashboard support for externally hosted Grafana (#7596) 2022-01-19 19:00:24 +05:30
Dockerfile Standardize curl flags with scurl (#7658) 2022-01-24 08:42:20 -08:00
main.go Add dashboard support for externally hosted Grafana (#7596) 2022-01-19 19:00:24 +05:30