Update swarm_dial.go

This commit is contained in:
Jeromy Johnson 2015-04-30 13:19:56 -07:00
parent 715f8950a0
commit ba120bcd38
1 changed files with 1 additions and 1 deletions

View File

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