aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/disk_location_ec.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-04 22:04:10 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-04 22:04:10 -0700
commitca8a2bb5345aec1d15bf087d66028292d567de87 (patch)
tree2b46d3db145ec40471c1d7ed01314860510406c4 /weed/storage/disk_location_ec.go
parent2215e81be70e4687b8ef775911e30943cc743a13 (diff)
downloadseaweedfs-ca8a2bb5345aec1d15bf087d66028292d567de87.tar.xz
seaweedfs-ca8a2bb5345aec1d15bf087d66028292d567de87.zip
go fmt
Diffstat (limited to 'weed/storage/disk_location_ec.go')
-rw-r--r--weed/storage/disk_location_ec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/disk_location_ec.go b/weed/storage/disk_location_ec.go
index 13797ed4b..7fb5351a4 100644
--- a/weed/storage/disk_location_ec.go
+++ b/weed/storage/disk_location_ec.go
@@ -34,7 +34,7 @@ func (l *DiskLocation) DestroyEcVolume(vid needle.VolumeId) {
ecVolume, found := l.ecVolumes[vid]
if found {
ecVolume.Destroy()
- delete(l.ecVolumes,vid)
+ delete(l.ecVolumes, vid)
}
}