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

+2 -2
View File
@@ -61,10 +61,10 @@ func walkLogEntryFile(dst *os.File) error {
return nil
}
event := &filer_pb.FullEventNotification{}
event := &filer_pb.SubscribeMetadataResponse{}
err = proto.Unmarshal(logEntry.Data, event)
if err != nil {
log.Printf("unexpected unmarshal filer_pb.FullEventNotification: %v", err)
log.Printf("unexpected unmarshal filer_pb.SubscribeMetadataResponse: %v", err)
return nil
}