diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-10-29 22:37:36 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-10-29 22:37:36 -0700 |
| commit | 4b5ba4927fa4d130d9badbd506195fa0cd7e9168 (patch) | |
| tree | bff689100f493bac7e083c61a571e322a0b5feef /unmaintained/remove_duplicate_fids | |
| parent | cd7ce720c779d7bc5b8e43726e2e5ca68756774a (diff) | |
| download | seaweedfs-4b5ba4927fa4d130d9badbd506195fa0cd7e9168.tar.xz seaweedfs-4b5ba4927fa4d130d9badbd506195fa0cd7e9168.zip | |
adjust NewDiskFile() paramaters
Diffstat (limited to 'unmaintained/remove_duplicate_fids')
| -rw-r--r-- | unmaintained/remove_duplicate_fids/remove_duplicate_fids.go | 2 |
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) } |
