Skip to content

Commit

Permalink
Added some debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6e6562 committed Aug 14, 2014
1 parent 30800ee commit 4474ab6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions connectionpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ func (c *SimplePool) Close() {
}

func (c *SimplePool) SetHosts(hosts []HostInfo) {

fmt.Printf("Setting hosts: %+v\n", hosts)

c.hostMu.Lock()
toRemove := make(map[string]struct{})
for k := range c.hosts {
Expand Down

0 comments on commit 4474ab6

Please sign in to comment.