1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Rename OneConnPool to SingleConnPool.

This commit is contained in:
Vladimir Mihailenco
2012-08-06 17:04:30 +03:00
parent ee618a6290
commit b2805a5e04
3 changed files with 9 additions and 9 deletions

View File

@ -88,7 +88,7 @@ func (c *Client) conn() (*Conn, error) {
}
if isNew && c.InitConn != nil {
client := &Client{
ConnPool: NewOneConnPool(conn),
ConnPool: NewSingleConnPool(conn),
}
err = c.InitConn(client)
if err != nil {