mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 07:37:55 +08:00
adjust NewDiskFile() paramaters
This commit is contained in:
@@ -50,7 +50,7 @@ func main() {
|
||||
if err != nil {
|
||||
glog.Fatalf("Read Volume Data %v", err)
|
||||
}
|
||||
datBackend := backend.NewDiskFile(datFileName, datFile)
|
||||
datBackend := backend.NewDiskFile(datFile)
|
||||
defer datBackend.Close()
|
||||
|
||||
newDatFile, err := os.Create(path.Join(*fixVolumePath, fileName+".dat_fixed"))
|
||||
|
Reference in New Issue
Block a user