correct error

This commit is contained in:
chrislu
2025-08-15 10:19:17 -07:00
parent 9843a10f2b
commit 8eb85415fb

View File

@@ -245,7 +245,7 @@ func (c *LogFileEntryCollector) collectMore(v *OrderedLogVisitor) (err error) {
if nextErr == io.EOF { if nextErr == io.EOF {
// do nothing since the filer has no more log entries // do nothing since the filer has no more log entries
} else { } else {
return fmt.Errorf("failed to get next log entry for %v: %w", entryName, err) return fmt.Errorf("failed to get next log entry for %v: %w", entryName, nextErr)
} }
} else { } else {
heap.Push(v.pq, &LogEntryItem{ heap.Push(v.pq, &LogEntryItem{