refactoring

This commit is contained in:
Chris Lu committed 2020-04-12 21:00:55 -07:00
1 parent 8e23dc078b
commit 7764e0465c
16 files changed
+186 -187

No files matched your search

+1 -1
View File
@@ -163,7 +163,7 @@ func (m *LogBuffer) ReadFromBuffer(lastReadTime time.Time) (ts time.Time, buffer
/*
for i, pos := range m.idx {
logEntry, ts := readTs(m.buf, pos)
event := &filer_pb.FullEventNotification{}
event := &filer_pb.SubscribeMetadataResponse{}
proto.Unmarshal(logEntry.Data, event)
entry := event.EventNotification.OldEntry
if entry == nil {