diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-13 15:51:38 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-13 15:51:38 -0700 |
| commit | 4ce23e88099c5b5a89351d1d6757f587c7ad36fe (patch) | |
| tree | c055fc8d5bffa4e2a70617eb19bd4bac59d1a9c5 | |
| parent | c90eb0da1f4cc479b85d9adec975c58f954e9dab (diff) | |
| download | seaweedfs-4ce23e88099c5b5a89351d1d6757f587c7ad36fe.tar.xz seaweedfs-4ce23e88099c5b5a89351d1d6757f587c7ad36fe.zip | |
fix compilation error
| -rw-r--r-- | weed/topology/volume_layout.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
