remove duplicated update events

This commit is contained in:
Chris Lu 2020-04-05 13:22:15 -07:00
parent 91da7057b1
commit f14b6a09a8

View file

@ -40,13 +40,6 @@ func (fs *FilerServer) AtomicRenameEntry(ctx context.Context, req *filer_pb.Atom
} }
} }
for _, entry := range events.newEntries {
fs.filer.NotifyUpdateEvent(nil, entry, false)
}
for _, entry := range events.oldEntries {
fs.filer.NotifyUpdateEvent(entry, nil, false)
}
return &filer_pb.AtomicRenameEntryResponse{}, nil return &filer_pb.AtomicRenameEntryResponse{}, nil
} }