Fix typo in ClusterClient.TxPipelined()

It should be using ClusterClient.TxPipeline() and not ClusterClient.Pipeline().
This commit is contained in:
Yuval Pavel Zholkover 2017-04-21 15:50:26 +03:00
parent 15786cf821
commit 8c21ec0006
1 changed files with 1 additions and 1 deletions

View File

@ -807,7 +807,7 @@ func (c *ClusterClient) TxPipeline() *Pipeline {
} }
func (c *ClusterClient) TxPipelined(fn func(*Pipeline) error) ([]Cmder, error) { 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 { func (c *ClusterClient) txPipelineExec(cmds []Cmder) error {