(cmd Cmder, prefferedSlot int)
| 2359 | } |
| 2360 | |
| 2361 | func (c *ClusterClient) cmdSlot(cmd Cmder, prefferedSlot int) int { |
| 2362 | info := c.cmdInfoPeek(cmd.Name()) |
| 2363 | return c.cmdSlotWithPos(cmd, cmdFirstKeyPosWithInfo(cmd, info), prefferedSlot) |
| 2364 | } |
| 2365 | |
| 2366 | // cmdSlotWithPos computes the cluster slot for cmd given a pre-resolved first key |
| 2367 | // position. Separating pos resolution from slot computation lets callers that |
no test coverage detected