Don't log that cruft

This commit is contained in:
Asim 2016-06-07 00:48:34 +01:00
parent 89401cbb95
commit 58ad01e3e1

View File

@ -1,7 +1,6 @@
package client
import (
"fmt"
"sync"
"time"
@ -55,14 +54,11 @@ func (p *pool) getConn(addr string, tr transport.Transport, opts ...transport.Di
// we got a good conn, lets unlock and return it
p.Unlock()
fmt.Println("old conn")
return conn, nil
}
p.Unlock()
fmt.Println("new conn")
// create new conn
c, err := tr.Dial(addr, opts...)
if err != nil {