This commit is contained in:
crusader 2018-04-12 17:19:39 +09:00
parent 9b450e0195
commit 7f0e357b99
2 changed files with 2 additions and 2 deletions

View File

@ -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(),

View File

@ -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(),