diff --git a/weed/topology/topology_vacuum.go b/weed/topology/topology_vacuum.go index 73664d27e..c6ec4375a 100644 --- a/weed/topology/topology_vacuum.go +++ b/weed/topology/topology_vacuum.go @@ -152,7 +152,7 @@ func vacuumOneVolumeLayout(volumeLayout *VolumeLayout, c *Collection, garbageThr if batchVacuumVolumeCheck(volumeLayout, vid, locationlist, garbageThreshold) { if batchVacuumVolumeCompact(volumeLayout, vid, locationlist, preallocate) { batchVacuumVolumeCommit(volumeLayout, vid, locationlist) - }else{ + } else { batchVacuumVolumeCleanup(volumeLayout, vid, locationlist) } }