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

Fix cluster slots parsing.

This commit is contained in:
Vladimir Mihailenco
2016-02-06 11:45:34 +02:00
parent 255bb28996
commit 2b2a6805dd
2 changed files with 18 additions and 5 deletions

View File

@ -725,12 +725,14 @@ func (cmd *ScanCmd) readReply(cn *conn) error {
//------------------------------------------------------------------------------
// TODO: rename to ClusterSlot
type ClusterSlotInfo struct {
Start int
End int
Addrs []string
}
// TODO: rename to ClusterSlotsCmd
type ClusterSlotCmd struct {
baseCmd