mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Expose cluster node id in ClusterSlots.
This commit is contained in:
@ -1659,8 +1659,8 @@ func (c *commandable) PubSubNumPat() *IntCmd {
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
func (c *commandable) ClusterSlots() *ClusterSlotCmd {
|
||||
cmd := NewClusterSlotCmd("CLUSTER", "slots")
|
||||
func (c *commandable) ClusterSlots() *ClusterSlotsCmd {
|
||||
cmd := NewClusterSlotsCmd("CLUSTER", "slots")
|
||||
cmd._clusterKeyPos = 0
|
||||
c.Process(cmd)
|
||||
return cmd
|
||||
|
Reference in New Issue
Block a user