Skip to content

Commit

Permalink
fix: DoContext call to DoWithTimeout
Browse files Browse the repository at this point in the history
Fix DoContext call to DoWithTimeout passing args as variadic.

Fixes #575
  • Loading branch information
stevenh committed Oct 15, 2021
1 parent 56d6448 commit 1097c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/conn.go
Expand Up @@ -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():
Expand Down

0 comments on commit 1097c8d

Please sign in to comment.