Sebastiaan van Stijn
e6aee04a88
client.NewClientWithOpts(): remove redundant type assertion (gosimple)
...
As caught by gosimple:
client/client.go:138:14: S1040: type assertion to the same type: c.client.Transport already has type http.RoundTripper (gosimple)
if _, ok := c.client.Transport.(http.RoundTripper); !ok {
^
This check was originally added in dc9f5c2ca3 , to
check if the passed option was a `http.Transport`, and later changed in
e345cd12f9 to check for `http.RoundTripper` instead.
Client.client is a http.Client, for which the Transport field is a RoundTripper,
so this check is redundant.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 99935ff803 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-08-17 19:03:06 +02:00
..
2016-09-07 11:05:58 -07:00
2019-03-18 15:26:21 +01:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-01-21 15:27:52 +01:00
2018-02-05 16:51:57 -05:00
2020-02-11 00:06:42 +01:00
2022-04-07 23:27:50 +02:00
2018-02-08 15:26:24 +01:00
2022-08-17 19:03:06 +02:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2018-04-23 13:52:44 -07:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2019-03-18 15:26:21 +01:00
2020-03-20 16:10:36 -07:00
2022-03-22 16:34:19 -04:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2020-01-06 12:25:00 +01:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-10-18 00:45:33 +02:00
2020-02-11 00:06:42 +01:00
2018-05-20 13:07:17 +02:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2020-02-28 09:54:37 -08:00
2019-10-13 17:00:40 +02:00
2018-05-30 13:38:42 -04:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-04-29 00:28:41 +02:00
2019-10-13 17:00:40 +02:00
2019-10-18 00:45:33 +02:00
2020-02-11 00:06:42 +01:00
2019-10-18 00:45:33 +02:00
2019-10-13 17:00:40 +02:00
2019-03-19 10:28:30 -07:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2019-11-27 15:44:49 +01:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2019-10-18 00:45:33 +02:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2019-03-16 00:42:42 +01:00
2019-12-10 12:24:14 +01:00
2019-12-10 12:24:14 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2018-04-23 13:52:44 -07:00
2018-02-05 16:51:57 -05:00
2020-05-21 11:33:27 -07:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-17 11:38:00 -07:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2019-10-18 00:45:33 +02:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2020-02-11 00:06:42 +01:00
2019-04-20 13:34:22 +02:00
2020-02-11 00:06:42 +01:00
2020-01-20 00:04:53 -05:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-03-16 00:42:42 +01:00
2019-10-13 17:00:40 +02:00
2019-10-18 00:45:33 +02:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-17 11:38:00 -07:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2018-04-23 13:52:44 -07:00
2019-01-03 22:49:00 +01:00
2020-02-11 00:06:42 +01:00
2022-08-17 19:03:02 +02:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2018-04-23 13:52:44 -07:00
2020-02-11 00:06:42 +01:00
2020-04-16 21:30:57 +02:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2019-10-14 10:43:00 -05:00
2020-02-11 00:06:42 +01:00
2018-05-20 13:07:17 +02:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2020-04-16 21:30:57 +02:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-17 11:38:00 -07:00
2018-04-23 13:52:44 -07:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2019-03-18 15:26:21 +01:00
2018-04-23 13:52:44 -07:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2019-03-18 15:26:21 +01:00
2020-02-11 00:06:42 +01:00
2019-03-18 15:26:21 +01:00
2019-10-13 17:00:40 +02:00
2019-10-18 00:45:33 +02:00
2019-03-18 15:26:21 +01:00
2019-10-17 11:38:00 -07:00
2019-03-18 15:26:21 +01:00