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/storage/volume_loading.go | |
| parent | d16c4506828ef998509634a01897401df6238d3a (diff) | |
| download | seaweedfs-faec9076a456187688d6b3fb5179cc0376c76916.tar.xz seaweedfs-faec9076a456187688d6b3fb5179cc0376c76916.zip | |
adjust parameter names
Diffstat (limited to 'weed/storage/volume_loading.go')
| -rw-r--r-- | weed/storage/volume_loading.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_loading.go b/weed/storage/volume_loading.go index 0f2a19bd1..be58588f2 100644 --- a/weed/storage/volume_loading.go +++ b/weed/storage/volume_loading.go @@ -42,7 +42,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind } } else { if createDatIfMissing { - v.dataFile, e = createVolumeFile(fileName+".dat", preallocate, v.MemoryMapMaxSizeMB) + v.dataFile, e = createVolumeFile(fileName+".dat", preallocate, v.MemoryMapMaxSizeMb) } else { return fmt.Errorf("Volume Data file %s.dat does not exist.", fileName) } |
