mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 23:27:56 +08:00
fix compilation error
This commit is contained in:
@@ -261,7 +261,7 @@ func (vl *VolumeLayout) SetVolumeAvailable(dn *DataNode, vid needle.VolumeId) bo
|
|||||||
vl.accessLock.Lock()
|
vl.accessLock.Lock()
|
||||||
defer vl.accessLock.Unlock()
|
defer vl.accessLock.Unlock()
|
||||||
|
|
||||||
vInfo, err := dn.GetVolumesById(v.Id)
|
vInfo, err := dn.GetVolumesById(vid)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user