This commit is contained in:
Chris Lu committed 2021-07-21 14:38:12 -07:00
1 parent cc32436d63
commit 7359193e97
8 files changed
+16 -17

No files matched your search

+2 -2
View File
@@ -170,8 +170,8 @@ func (m *LogBuffer) copyToFlush() *dataToFlush {
m.lastFlushTime = m.stopTime
}
m.buf = m.prevBuffers.SealBuffer(m.startTime, m.stopTime, m.buf, m.pos)
m.startTime = time.Unix(0,0)
m.stopTime = time.Unix(0,0)
m.startTime = time.Unix(0, 0)
m.stopTime = time.Unix(0, 0)
m.pos = 0
m.idx = m.idx[:0]
return d