aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/filer_delete_entry.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer/filer_delete_entry.go')
-rw-r--r--weed/filer/filer_delete_entry.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer/filer_delete_entry.go b/weed/filer/filer_delete_entry.go
index 2ea20ea64..87a58fd86 100644
--- a/weed/filer/filer_delete_entry.go
+++ b/weed/filer/filer_delete_entry.go
@@ -48,7 +48,7 @@ func (f *Filer) DeleteEntryMetaAndData(ctx context.Context, p util.FullPath, isR
}
if shouldDeleteChunks && !isDeleteCollection {
- f.DirectDeleteChunks(entry.Chunks)
+ f.DirectDeleteChunks(entry.GetChunks())
}
// delete the file or folder
@@ -93,7 +93,7 @@ func (f *Filer) doBatchDeleteFolderMetaAndData(ctx context.Context, entry *Entry
// hard link chunk data are deleted separately
err = onHardLinkIdsFn([]HardLinkId{sub.HardLinkId})
} else {
- err = onChunksFn(sub.Chunks)
+ err = onChunksFn(sub.GetChunks())
}
}
if err != nil && !ignoreRecursiveError {