Fix merge

This commit is contained in:
Vladimir Mihailenco 2020-05-21 10:19:17 +03:00
parent 4440575966
commit 3d03b1fa6a
1 changed files with 3 additions and 3 deletions

View File

@ -342,9 +342,9 @@ func (c statefulCmdable) Auth(ctx context.Context, password string) *StatusCmd {
// Perform an AUTH command, using the given user and pass. // 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 // 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. // 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 { func (c statefulCmdable) AuthACL(ctx context.Context, username, password string) *StatusCmd {
cmd := NewStatusCmd("auth", username, password) cmd := NewStatusCmd(ctx, "auth", username, password)
_ = c(cmd) _ = c(ctx, cmd)
return cmd return cmd
} }