aboutsummaryrefslogtreecommitdiff
path: root/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-10-29 22:37:36 -0700
committerChris Lu <chris.lu@gmail.com>2019-10-29 22:37:36 -0700
commit4b5ba4927fa4d130d9badbd506195fa0cd7e9168 (patch)
treebff689100f493bac7e083c61a571e322a0b5feef /unmaintained/remove_duplicate_fids/remove_duplicate_fids.go
parentcd7ce720c779d7bc5b8e43726e2e5ca68756774a (diff)
downloadseaweedfs-4b5ba4927fa4d130d9badbd506195fa0cd7e9168.tar.xz
seaweedfs-4b5ba4927fa4d130d9badbd506195fa0cd7e9168.zip
adjust NewDiskFile() paramaters
Diffstat (limited to 'unmaintained/remove_duplicate_fids/remove_duplicate_fids.go')
-rw-r--r--unmaintained/remove_duplicate_fids/remove_duplicate_fids.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go b/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go
index 5eeb7e1c8..d44bc5354 100644
--- a/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go
+++ b/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go
@@ -50,7 +50,7 @@ func (scanner *VolumeFileScanner4SeeDat) VisitNeedle(n *needle.Needle, offset in
if err != nil {
glog.Fatalf("Write New Volume Data %v", err)
}
- scanner.datBackend = backend.NewDiskFile(newFileName, newDatFile)
+ scanner.datBackend = backend.NewDiskFile(newDatFile)
scanner.datBackend.WriteAt(scanner.block.Bytes(), 0)
}