Browse Source

go fmt

pull/6207/merge
chrislu 2 days ago
parent
commit
de09a82a32
  1. 2
      weed/storage/disk_location_ec.go

2
weed/storage/disk_location_ec.go

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

Loading…
Cancel
Save