Update swarm_dial.go
This commit is contained in:
parent
715f8950a0
commit
ba120bcd38
|
@ -417,7 +417,7 @@ func (s *Swarm) dialAddrs(ctx context.Context, d *conn.Dialer, p peer.ID, remote
|
|||
for i := 0; i < len(remoteAddrs); i++ {
|
||||
select {
|
||||
case exitErr = <-errs: //
|
||||
log.Warning("dial error: ", exitErr)
|
||||
log.Debug("dial error: ", exitErr)
|
||||
case connC := <-conns:
|
||||
// take the first + return asap
|
||||
close(foundConn)
|
||||
|
|
Loading…
Reference in New Issue