From 4ce23e88099c5b5a89351d1d6757f587c7ad36fe Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 13 Mar 2020 15:51:38 -0700 Subject: [PATCH] fix compilation error --- weed/topology/volume_layout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.go index a0c66516d..144e24713 100644 --- a/weed/topology/volume_layout.go +++ b/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 }