Skip to content

Commit d8bfadd

Browse files
committed
review fixes
1 parent b7c4dee commit d8bfadd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ring.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,8 @@ func (c *Ring) generalProcessPipeline(
814814

815815
hook := shard.Client.processPipelineHook
816816
if tx {
817-
cmds, hook = wrapMultiExec(ctx, cmds), shard.Client.processTxPipelineHook
817+
cmds = wrapMultiExec(ctx, cmds)
818+
hook = shard.Client.processTxPipelineHook
818819
}
819820

820821
if err = hook(ctx, cmds); err != nil {

0 commit comments

Comments
 (0)