linkerd2/pkg/profiles
Tarun Pothulapati 39e7f84773
cli: fix and update timeout warnings in profile cmd (#5122)
Fixes #5121

* cli: skip emitting warnings in Profile


Whenever the tapDuration gets completed, there is a warning occured
which we do not emit. This looks like it has been changed in the latest
versions of the dependency.

* Use context.withDeadline instead of client.timeout

The usage of `client.Timeout` is not working correctly causing `W1022
17:20:12.372780   19049 transport.go:260] Unable to cancel request for
   promhttp.RoundTripperFunc` to be emitted by the Kubernetes Client.

This is fixed by using context.WithDeadline and passing that into the
http Request.

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2020-10-27 22:08:21 +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 cli: fix and update timeout warnings in profile cmd (#5122) 2020-10-27 22:08:21 +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