linkerd2/web/srv
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
..
testdata Gateway Metrics in Dashboard (#4717) 2020-07-27 12:43:54 -07:00
api_handlers.go cli: fix and update timeout warnings in profile cmd (#5122) 2020-10-27 22:08:21 +05:30
api_handlers_test.go Gateway Metrics in Dashboard (#4717) 2020-07-27 12:43:54 -07:00
handlers.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
handlers_test.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
reverse_proxy.go Add Jaeger links to the Linkerd dashboard (#4177) 2020-05-07 16:35:56 -05:00
server.go Gateway Metrics in Dashboard (#4717) 2020-07-27 12:43:54 -07:00
test_helpers.go Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00