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

Remove deprecated funcs.

This commit is contained in:
Vladimir Mihailenco
2015-05-02 16:19:22 +03:00
parent f7a1636422
commit 121cfc5792
9 changed files with 12 additions and 24 deletions

View File

@ -81,7 +81,7 @@ func (c *ClusterClient) getClient(addr string) (*Client, error) {
if !ok {
opt := c.opt.clientOptions()
opt.Addr = addr
client = NewTCPClient(opt)
client = NewClient(opt)
c.clients[addr] = client
}
c.clientsMx.Unlock()