fix compilation error

This commit is contained in:
Chris Lu committed 2020-03-13 15:51:38 -07:00
1 parent c90eb0da1f
commit 4ce23e8809
1 file changed
+1 -1
+1 -1
View File
@@ -261,7 +261,7 @@ func (vl *VolumeLayout) SetVolumeAvailable(dn *DataNode, vid needle.VolumeId) bo
vl.accessLock.Lock()
defer vl.accessLock.Unlock()
vInfo, err := dn.GetVolumesById(v.Id)
vInfo, err := dn.GetVolumesById(vid)
if err != nil {
return false
}