Browse Source

build pool doesnt return an error

Chris Bannister 10 years ago
parent
commit
24104d30c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cluster.go

+ 1 - 1
cluster.go

@@ -53,7 +53,7 @@ type PoolConfig struct {
 	ConnSelectionPolicy func() ConnSelectionPolicy
 }
 
-func (p PoolConfig) buildPool(session *Session) (*policyConnPool, error) {
+func (p PoolConfig) buildPool(session *Session) *policyConnPool {
 	hostSelection := p.HostSelectionPolicy
 	if hostSelection == nil {
 		hostSelection = RoundRobinHostPolicy()