diff --git a/api/api.go b/api/api.go index 3b6b0ab7b..9a016a942 100644 --- a/api/api.go +++ b/api/api.go @@ -319,18 +319,6 @@ func cloneWithTimeout(httpClient *http.Client, t time.Duration) (*http.Client, e return &nc, nil } -// ConfigureTLS applies a set of TLS configurations to the the HTTP client. -// -// Deprecated: This method is called internally. Consider using ConfigureTLS instead. -func (c *Config) ConfigureTLS() error { - - // preserve backward behavior where ConfigureTLS pre0.9 always had a client - if c.HttpClient == nil { - c.HttpClient = defaultHttpClient() - } - return ConfigureTLS(c.HttpClient, c.TLSConfig) -} - // ConfigureTLS applies a set of TLS configurations to the the HTTP client. func ConfigureTLS(httpClient *http.Client, tlsConfig *TLSConfig) error { if tlsConfig == nil {