weed/storage/erasure_coding: fix dropped test error

This commit is contained in:
Lars Lehtonen 2023-09-06 07:20:24 -07:00 committed by Chris Lu
parent a879e1bbb5
commit d762b12e11

View file

@ -60,6 +60,9 @@ func validateFiles(baseFileName string) error {
}
ecFiles, err := openEcFiles(baseFileName, true)
if err != nil {
return fmt.Errorf("error opening ec files: %w", err)
}
defer closeEcFiles(ecFiles)
err = nm.AscendingVisit(func(value needle_map.NeedleValue) error {