mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
Rework pipeline retrying
This commit is contained in:
@ -11,7 +11,7 @@ import (
|
||||
func Scan(b []byte, v interface{}) error {
|
||||
switch v := v.(type) {
|
||||
case nil:
|
||||
return internal.RedisError("redis: Scan(nil)")
|
||||
return fmt.Errorf("redis: Scan(nil)")
|
||||
case *string:
|
||||
*v = internal.BytesToString(b)
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user