diff --git a/client/client.go b/client/client.go index 21edf1fa1fc31a2e16a44ef1d21c20a5f32f4040..9b2b2eaeb8a87adcc15aad6463116a7f78ad8bfe 100644 --- a/client/client.go +++ b/client/client.go @@ -135,9 +135,6 @@ func NewClientWithOpts(ops ...Opt) (*Client, error) { } } - if _, ok := c.client.Transport.(http.RoundTripper); !ok { - return nil, fmt.Errorf("unable to verify TLS configuration, invalid transport %v", c.client.Transport) - } if c.scheme == "" { c.scheme = "http"