This commit is contained in:
chrislu
2024-12-19 19:25:27 -08:00
parent bfd59dd579
commit de09a82a32

View File

@@ -198,7 +198,7 @@ func (l *DiskLocation) deleteEcVolumeById(vid needle.VolumeId) (e error) {
// Add write lock since we're modifying the ecVolumes map
l.ecVolumesLock.Lock()
defer l.ecVolumesLock.Unlock()
ecVolume, ok := l.ecVolumes[vid]
if !ok {
return