mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
weed/storage/erasure_coding: fix dropped test error
This commit is contained in:
parent
a879e1bbb5
commit
d762b12e11
|
@ -60,6 +60,9 @@ func validateFiles(baseFileName string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
ecFiles, err := openEcFiles(baseFileName, true)
|
ecFiles, err := openEcFiles(baseFileName, true)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("error opening ec files: %w", err)
|
||||||
|
}
|
||||||
defer closeEcFiles(ecFiles)
|
defer closeEcFiles(ecFiles)
|
||||||
|
|
||||||
err = nm.AscendingVisit(func(value needle_map.NeedleValue) error {
|
err = nm.AscendingVisit(func(value needle_map.NeedleValue) error {
|
||||||
|
|
Loading…
Reference in a new issue