forked from mirror/redis
Merge pull request #552 from paulzhol/master
Fix typo in ClusterClient.TxPipelined()
This commit is contained in:
commit
2528e7a712
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue