skip the rest logic

This commit is contained in:
Chris Lu 2021-11-29 00:32:21 -08:00
parent 88ff8fc27b
commit 2f72c24498

View file

@ -136,6 +136,7 @@ func (f *Filer) deleteChunksIfNotNew(oldEntry, newEntry *Entry) {
}
if newEntry == nil {
f.DeleteChunks(oldEntry.Chunks)
return
}
var toDelete []*filer_pb.FileChunk