mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
Don't log that cruft
This commit is contained in:
parent
89401cbb95
commit
58ad01e3e1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user