1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Embed Cmdable into StatefulCmdable

This commit is contained in:
Vladimir Mihailenco
2017-05-25 13:38:04 +03:00
parent 368f0ea0ba
commit 7e8890b644
7 changed files with 23 additions and 23 deletions

View File

@ -82,7 +82,7 @@ func NewFailoverClient(failoverOpt *FailoverOptions) *Client {
},
},
}
client.cmdable.process = client.Process
client.setProcessor(client.Process)
return &client
}