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

Export Cmder.Name

This commit is contained in:
Vladimir Mihailenco
2017-05-09 12:44:36 +03:00
parent 0232c510cb
commit 6307b95039
3 changed files with 7 additions and 7 deletions

View File

@@ -392,7 +392,7 @@ func (c *ClusterClient) cmdSlotAndNode(state *clusterState, cmd Cmder) (int, *cl
return 0, node, err
}
cmdInfo := c.cmds[cmd.name()]
cmdInfo := c.cmds[cmd.Name()]
firstKey := cmd.arg(cmdFirstKeyPos(cmd, cmdInfo))
slot := hashtag.Slot(firstKey)