From d910e514987bd67322cb2b95e2a0242eb933ded9 Mon Sep 17 00:00:00 2001 From: shaoguang Date: Wed, 12 Apr 2017 20:11:20 +0800 Subject: [PATCH] pipelineReadCmds always retry=true, maybe bug --- redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.go b/redis.go index b20b34b9..7fbb7fd3 100644 --- a/redis.go +++ b/redis.go @@ -205,7 +205,7 @@ func pipelineReadCmds(cn *pool.Conn, cmds []Cmder) (retry bool, firstErr error) firstErr = err } } - return false, firstErr + return } func (c *baseClient) txPipelineProcessCmds(cn *pool.Conn, cmds []Cmder) (bool, error) {