diff --git a/api/api.go b/api/api.go index 8693167ee4c..07cc4d9f23e 100644 --- a/api/api.go +++ b/api/api.go @@ -234,7 +234,6 @@ func (c *Config) ClientConfig(region, address string, tlsEnabled bool) *Config { HttpAuth: c.HttpAuth, WaitTime: c.WaitTime, TLSConfig: c.TLSConfig.Copy(), - url: copyURL(c.url), } // Update the tls server name for connecting to a client