diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-11 14:19:44 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-11 14:19:44 -0700 |
| commit | df9d538044c035edde5441972dffdc7662fe753b (patch) | |
| tree | f12fcc3150753942a04840f2ec9c155076e2aa24 /weed/storage/volume_loading.go | |
| parent | d7f3acb2c056534f29950f3586d804ec274349b2 (diff) | |
| download | seaweedfs-df9d538044c035edde5441972dffdc7662fe753b.tar.xz seaweedfs-df9d538044c035edde5441972dffdc7662fe753b.zip | |
rename function
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 3b0897bca..64979cba1 100644 --- a/weed/storage/volume_loading.go +++ b/weed/storage/volume_loading.go @@ -54,7 +54,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind v.DataBackend = backend.NewDiskFile(dataFile) } else { if createDatIfMissing { - v.DataBackend, err = createVolumeFile(fileName+".dat", preallocate, v.MemoryMapMaxSizeMb) + v.DataBackend, err = CreateVolumeFile(fileName+".dat", preallocate, v.MemoryMapMaxSizeMb) } else { return fmt.Errorf("Volume Data file %s.dat does not exist.", fileName) } |
