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
cmdable
limiter Limiter
ctx context.Context
ctx context.Context
}
// NewClient returns a client to the Redis Server specified by Options.
@ -502,7 +501,7 @@ func (c *Client) pubSub() *PubSub {
// if err != nil {
// // handle error
// }
//
//
// // Should be *Subscription, but others are possible if other actions have been
// // taken on sub since it was created.
// switch iface.(type) {