mirror of
https://github.com/redis/go-redis.git
synced 2025-08-06 01:35:48 +03:00
Fix error formatting.
This commit is contained in:
@@ -415,7 +415,7 @@ func readScanReply(cn *conn) ([]string, int64, error) {
|
|||||||
return nil, 0, err
|
return nil, 0, err
|
||||||
}
|
}
|
||||||
if n != 2 {
|
if n != 2 {
|
||||||
return nil, 0, fmt.Errorf("redis: got %d elements in scan reply, expected 2")
|
return nil, 0, fmt.Errorf("redis: got %d elements in scan reply, expected 2", n)
|
||||||
}
|
}
|
||||||
|
|
||||||
b, err := readBytesReply(cn)
|
b, err := readBytesReply(cn)
|
||||||
|
Reference in New Issue
Block a user