ing
This commit is contained in:
parent
9b450e0195
commit
7f0e357b99
|
@ -172,7 +172,7 @@ func (c *Connectors) dial() (net.Conn, error) {
|
|||
return conn, nil
|
||||
}
|
||||
|
||||
func (c *Connectors) Clone() *Connectors {
|
||||
func (c *Connectors) Clone() client.Connector {
|
||||
return &Connectors{
|
||||
Connectors: *c.Connectors.Clone(),
|
||||
ClientConnHandlers: *c.ClientConnHandlers.Clone(),
|
||||
|
|
|
@ -460,7 +460,7 @@ func cloneTLSConfig(cfg *tls.Config) *tls.Config {
|
|||
return cfg.Clone()
|
||||
}
|
||||
|
||||
func (c *Connectors) Clone() *Connectors {
|
||||
func (c *Connectors) Clone() client.Connector {
|
||||
return &Connectors{
|
||||
Connectors: *c.Connectors.Clone(),
|
||||
ClientConnHandlers: *c.ClientConnHandlers.Clone(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user