Browse Source

fix compilation error

pull/1255/head
Chris Lu 5 years ago
parent
commit
4ce23e8809
  1. 2
      weed/topology/volume_layout.go

2
weed/topology/volume_layout.go

@ -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
}

Loading…
Cancel
Save