fix: fix the wrong error return value (#6603)

This commit is contained in:
tiaoxizhan
2025-03-06 22:36:33 +08:00
committed by GitHub
parent 3ed52662df
commit 533b675ec8

View File

@@ -58,7 +58,7 @@ func (fs *FilerServer) mergeChunks(so *operation.StorageOption, inputChunks []*f
if err != nil { if err != nil {
glog.Errorf("Failed to resolve old entry chunks when delete old entry chunks. new: %s, old: %s", glog.Errorf("Failed to resolve old entry chunks when delete old entry chunks. new: %s, old: %s",
mergedChunks, inputChunks) mergedChunks, inputChunks)
return return mergedChunks, err
} }
fs.filer.DeleteChunksNotRecursive(garbage) fs.filer.DeleteChunksNotRecursive(garbage)
return return