diff options
| author | hilimd <68371223+hilimd@users.noreply.github.com> | 2021-10-27 09:42:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-27 09:42:23 +0800 |
| commit | 6999325d3631f0e9f4fe4e081650dcf60a1293c5 (patch) | |
| tree | 99082f145eeee921ae772d0c8601f97f40b7f074 /weed/command/compact.go | |
| parent | ee90edd0e3746ae0f6046dd9e7362aeec821456c (diff) | |
| parent | 3eeaffeadd9bcff0148d0b1c860ea4ff03e82904 (diff) | |
| download | seaweedfs-6999325d3631f0e9f4fe4e081650dcf60a1293c5.tar.xz seaweedfs-6999325d3631f0e9f4fe4e081650dcf60a1293c5.zip | |
Merge pull request #84 from chrislusf/master
sync
Diffstat (limited to 'weed/command/compact.go')
| -rw-r--r-- | weed/command/compact.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/compact.go b/weed/command/compact.go index 92e25f474..6df28440a 100644 --- a/weed/command/compact.go +++ b/weed/command/compact.go @@ -50,7 +50,7 @@ func runCompact(cmd *Command, args []string) bool { glog.Fatalf("Compact Volume [ERROR] %s\n", err) } } else { - if err = v.Compact2(preallocate, 0); err != nil { + if err = v.Compact2(preallocate, 0, nil); err != nil { glog.Fatalf("Compact Volume [ERROR] %s\n", err) } } |
