Merge pull request #266 from go-redis/fix/error-format

Fix error formatting.
This commit is contained in:
Vladimir Mihailenco 2016-03-08 16:17:45 +02:00
commit 847e1270db
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ func readScanReply(cn *conn) ([]string, int64, error) {
return nil, 0, err
}
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)