This commit is contained in:
chrislu 2022-07-28 16:32:02 -07:00
commit a458bee9f2

View file

@ -16,11 +16,7 @@ func (f *Filer) onMetadataChangeEvent(event *filer_pb.SubscribeMetadataResponse)
func (f *Filer) onBucketEvents(event *filer_pb.SubscribeMetadataResponse) { func (f *Filer) onBucketEvents(event *filer_pb.SubscribeMetadataResponse) {
message := event.EventNotification message := event.EventNotification
for _, sig := range message.Signatures {
if sig == f.Signature {
return
}
}
if f.DirBucketsPath == event.Directory { if f.DirBucketsPath == event.Directory {
if filer_pb.IsCreate(event) { if filer_pb.IsCreate(event) {
if message.NewEntry.IsDirectory { if message.NewEntry.IsDirectory {