mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-09 21:38:19 +01:00
fix compilation error
This commit is contained in:
1 parent
c90eb0da1f
commit
4ce23e8809
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user