aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-22 02:34:08 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-22 02:34:08 -0800
commit4f31c1bb9496bddd55dc4586769d1834599c975e (patch)
treec4e0f286db2582c310f3ae4e429df233519f47da /weed/storage/volume.go
parent6c4f32d1735d247fbf598663f8fe6ecc286dc099 (diff)
downloadseaweedfs-4f31c1bb9496bddd55dc4586769d1834599c975e.tar.xz
seaweedfs-4f31c1bb9496bddd55dc4586769d1834599c975e.zip
go fmt
Diffstat (limited to 'weed/storage/volume.go')
-rw-r--r--weed/storage/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume.go b/weed/storage/volume.go
index 7712c5eda..80a74c3e3 100644
--- a/weed/storage/volume.go
+++ b/weed/storage/volume.go
@@ -47,7 +47,7 @@ type Volume struct {
volumeInfo *volume_server_pb.VolumeInfo
location *DiskLocation
- lastIoError error
+ lastIoError error
}
func NewVolume(dirname string, dirIdx string, collection string, id needle.VolumeId, needleMapKind NeedleMapType, replicaPlacement *super_block.ReplicaPlacement, ttl *needle.TTL, preallocate int64, memoryMapMaxSizeMb uint32) (v *Volume, e error) {