From d3f33b67b9fcbaa0a5054b1a94ff4510e757d1aa Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 8 Mar 2016 16:00:33 +0200 Subject: [PATCH] Fix error formatting. --- parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.go b/parser.go index b99ee896..758ec8df 100644 --- a/parser.go +++ b/parser.go @@ -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)