Merge pull request #552 from paulzhol/master

Fix typo in ClusterClient.TxPipelined()
This commit is contained in:
Vladimir Mihailenco 2017-04-22 11:28:27 +03:00 committed by GitHub
commit 2528e7a712
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) {
return c.Pipeline().pipelined(fn)
return c.TxPipeline().pipelined(fn)
}
func (c *ClusterClient) txPipelineExec(cmds []Cmder) error {