diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-10-21 22:57:01 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-10-21 22:57:01 -0700 |
| commit | faec9076a456187688d6b3fb5179cc0376c76916 (patch) | |
| tree | a09e9a80b5145b39af7083e3c33bc10610c316f8 /weed/topology | |
| parent | d16c4506828ef998509634a01897401df6238d3a (diff) | |
| download | seaweedfs-faec9076a456187688d6b3fb5179cc0376c76916.tar.xz seaweedfs-faec9076a456187688d6b3fb5179cc0376c76916.zip | |
adjust parameter names
Diffstat (limited to 'weed/topology')
| -rw-r--r-- | weed/topology/allocate_volume.go | 2 | ||||
| -rw-r--r-- | weed/topology/volume_growth.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/topology/allocate_volume.go b/weed/topology/allocate_volume.go index 342ca6579..e5dc48652 100644 --- a/weed/topology/allocate_volume.go +++ b/weed/topology/allocate_volume.go @@ -23,7 +23,7 @@ func AllocateVolume(dn *DataNode, grpcDialOption grpc.DialOption, vid needle.Vol Replication: option.ReplicaPlacement.String(), Ttl: option.Ttl.String(), Preallocate: option.Prealloacte, - MemoryMapMaxSizeMB: option.MemoryMapMaxSizeMB, + MemoryMapMaxSizeMb: option.MemoryMapMaxSizeMb, }) return deleteErr }) diff --git a/weed/topology/volume_growth.go b/weed/topology/volume_growth.go index 14f94fbd2..f21ab45ef 100644 --- a/weed/topology/volume_growth.go +++ b/weed/topology/volume_growth.go @@ -28,7 +28,7 @@ type VolumeGrowOption struct { DataCenter string Rack string DataNode string - MemoryMapMaxSizeMB uint32 + MemoryMapMaxSizeMb uint32 } type VolumeGrowth struct { |
