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:
@ -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()
|
||||
|
Reference in New Issue
Block a user