Merge pull request #934 from go-redis/fix/rm-limiter-copy

Remove limiter copy
This commit is contained in:
Vladimir Mihailenco 2018-12-13 10:49:30 +02:00 committed by GitHub
commit 29e07c1098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -389,8 +389,7 @@ type Client struct {
baseClient baseClient
cmdable cmdable
limiter Limiter ctx context.Context
ctx context.Context
} }
// NewClient returns a client to the Redis Server specified by Options. // NewClient returns a client to the Redis Server specified by Options.