Skip to content

Commit

Permalink
chore: fix connection log information in dgraph alpha (#4303)
Browse files Browse the repository at this point in the history
* Fixes #4298

Signed-off-by: Deepesh Pathak <deepshpathak@gmail.com>
  • Loading branch information
fristonio authored and martinmr committed Nov 21, 2019
1 parent 240f8e2 commit 8c97188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conn/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var (
// worker instances. Right now it just holds one of them.
type Pool struct {
sync.RWMutex
// A pool now consists of one connection. gRPC uses HTTP2 transport to combine
// A pool now consists of one connection. gRPC uses HTTP2 transport to combine
// messages in the same TCP stream.
conn *grpc.ClientConn

Expand Down Expand Up @@ -145,7 +145,7 @@ func (p *Pools) Connect(addr string) *Pool {
go pool.shutdown() // Not being used, so release the resources.
return existingPool
}
glog.Infof("CONNECTED to %v\n", addr)
glog.Infof("CONNECTING to %s\n", addr)
p.all[addr] = pool
return pool
}
Expand Down

0 comments on commit 8c97188

Please sign in to comment.