From 3d03b1fa6a1ed0775d4b032861da0637b45437da Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Thu, 21 May 2020 10:19:17 +0300 Subject: [PATCH] Fix merge --- commands.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands.go b/commands.go index 541682d5..3f733f14 100644 --- a/commands.go +++ b/commands.go @@ -342,9 +342,9 @@ func (c statefulCmdable) Auth(ctx context.Context, password string) *StatusCmd { // Perform an AUTH command, using the given user and pass. // Should be used to authenticate the current connection with one of the connections defined in the ACL list // when connecting to a Redis 6.0 instance, or greater, that is using the Redis ACL system. -func (c statefulCmdable) AuthACL(username, password string) *StatusCmd { - cmd := NewStatusCmd("auth", username, password) - _ = c(cmd) +func (c statefulCmdable) AuthACL(ctx context.Context, username, password string) *StatusCmd { + cmd := NewStatusCmd(ctx, "auth", username, password) + _ = c(ctx, cmd) return cmd }