Hotfix -- fix querylog verifier that got broken by 5ae2a32d6e

This commit is contained in:
Eugene Bujak 2018-10-11 18:06:05 +03:00
parent 557c2268dc
commit 4995c1a1a8
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ func checkBuffer(buffer []*logEntry, b bytes.Buffer) error {
i := 0 i := 0
for d.More() { for d.More() {
var entry logEntry entry := &logEntry{}
err := d.Decode(&entry) err := d.Decode(entry)
if err != nil { if err != nil {
log.Printf("Failed to decode: %s", err) log.Printf("Failed to decode: %s", err)
return err return err