fix: fix the wrong error return value (#6603)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user