diff --git a/redis/conn.go b/redis/conn.go index 526a5649..a30100d7 100644 --- a/redis/conn.go +++ b/redis/conn.go @@ -794,7 +794,7 @@ func (c *conn) DoContext(ctx context.Context, cmd string, args ...interface{}) ( go func() { defer close(endch) - r, e = c.DoWithTimeout(realTimeout, cmd, args) + r, e = c.DoWithTimeout(realTimeout, cmd, args...) }() select { case <-ctx.Done():