mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 20:17:38 +01:00
clean up test files
This commit is contained in:
1 parent
5dd67f9acf
commit
5c6c757619
1 file changed
+1
-1
@@ -178,7 +178,7 @@ func readFromFile(file *os.File, data []byte, ecFileOffset int64) (err error) {
|
||||
|
||||
func removeGeneratedFiles(baseFileName string) {
|
||||
for i := 0; i < DataShardsCount+ParityShardsCount; i++ {
|
||||
fname := fmt.Sprintf("%s.ec%02d", baseFileName, i+1)
|
||||
fname := fmt.Sprintf("%s.ec%02d", baseFileName, i)
|
||||
os.Remove(fname)
|
||||
}
|
||||
os.Remove(baseFileName + ".ecx")
|
||||
|
||||
Reference in new issue
Block a user