aboutsummaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
Diffstat (limited to 'go')
-rw-r--r--go/topology/topology_compact.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/topology/topology_compact.go b/go/topology/topology_compact.go
index 6394c59c6..bcf578813 100644
--- a/go/topology/topology_compact.go
+++ b/go/topology/topology_compact.go
@@ -74,7 +74,7 @@ func batchVacuumVolumeCommit(vl *VolumeLayout, vid storage.VolumeId, locationlis
}
}
if isCommitSuccess {
- vl.setVolumeWritable(vid)
+ vl.SetVolumeAvailable(dn,vid)
}
return isCommitSuccess
}