linkerd2/pkg/profiles
Tarun Pothulapati 3a16baa141
Use errors.Is instead of checking underlying err messages (#5140)
* 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>
2020-10-28 21:33:17 +05:30
..
openapi.go Support configuration of service profile timeouts (#4072) 2020-03-10 13:22:26 -07:00
openapi_test.go Support configuration of service profile timeouts (#4072) 2020-03-10 13:22:26 -07:00
profiles.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
profiles_test.go Upgrade go to 1.13.4 (#3702) 2019-11-13 12:54:36 -05:00
proto.go Generate correct path regex for proto files without package name (#4098) 2020-03-23 14:21:42 -05:00
proto_test.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
tap.go Use errors.Is instead of checking underlying err messages (#5140) 2020-10-28 21:33:17 +05:30
tap_test.go cli: fix and update timeout warnings in profile cmd (#5122) 2020-10-27 22:08:21 +05:30
template.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
test_helper.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00