1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-17 20:17:02 +03:00

Fix missing argument.

This commit is contained in:
Robert 2015-09-01 13:27:19 +08:00
parent 152c38c687
commit 5a976d17b8

View File

@ -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)
}
}