mirror of https://github.com/linkerd/linkerd2.git
* Use errors.Is instead of checking underlying err messages Fixes #5132 This PR replaces the usage of `strings.hasSuffix` with `errors.Is` wherever error messages are being checked. So, that the code is not effected by changes in the underlying message. Also adds a string const for http2 response body closed error Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com> |
||
---|---|---|
.. | ||
openapi.go | ||
openapi_test.go | ||
profiles.go | ||
profiles_test.go | ||
proto.go | ||
proto_test.go | ||
tap.go | ||
tap_test.go | ||
template.go | ||
test_helper.go |