mirror of https://github.com/linkerd/linkerd2.git
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> |
||
|---|---|---|
| .. | ||
| app | ||
| srv | ||
| templates | ||
| Dockerfile | ||
| main.go | ||