Skip to content

Commit

Permalink
Merge pull request redis#552 from paulzhol/master
Browse files Browse the repository at this point in the history
Fix typo in ClusterClient.TxPipelined()
  • Loading branch information
vmihailenco authored Apr 22, 2017
2 parents 15786cf + 8c21ec0 commit 2528e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ func (c *ClusterClient) TxPipeline() *Pipeline {
}

func (c *ClusterClient) TxPipelined(fn func(*Pipeline) error) ([]Cmder, error) {
return c.Pipeline().pipelined(fn)
return c.TxPipeline().pipelined(fn)
}

func (c *ClusterClient) txPipelineExec(cmds []Cmder) error {
Expand Down

0 comments on commit 2528e7a

Please sign in to comment.