From 5a976d17b89d72cd3ed3f8316f615b2e0b345b91 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 1 Sep 2015 13:27:19 +0800 Subject: [PATCH] Fix missing argument. --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index dab9fc3..559a11f 100644 --- a/command.go +++ b/command.go @@ -378,7 +378,7 @@ func (cmd *BoolCmd) parseReply(rd *bufio.Reader) error { cmd.val = bytes.Equal(vv, ok) return nil default: - return fmt.Errorf("got %T, wanted int64 or string") + return fmt.Errorf("got %T, wanted int64 or string", v) } }