mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 11:59:24 +08:00
refactoring
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user