mirror of https://github.com/go-redis/redis.git
fix rename
This commit is contained in:
parent
ea4d6c3490
commit
fbec95a796
|
@ -197,7 +197,7 @@ func (r *Reader) ReadScanReply() ([]string, uint64, error) {
|
|||
return nil, 0, fmt.Errorf("redis: got %d elements in scan reply, expected 2", n)
|
||||
}
|
||||
|
||||
cursor, err := p.ReadUint()
|
||||
cursor, err := r.ReadUint()
|
||||
if err != nil {
|
||||
return nil, 0, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue