mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 10:07:24 +08:00
support env variables to overwrite toml file
This commit is contained in:
@@ -356,7 +356,7 @@ func (v *Volume) copyDataAndGenerateIndexFile(dstName, idxName string, prealloca
|
||||
func copyDataBasedOnIndexFile(srcDatName, srcIdxName, dstDatName, datIdxName string, sb super_block.SuperBlock, version needle.Version, preallocate int64) (err error) {
|
||||
var (
|
||||
srcDatBackend, dstDatBackend backend.BackendStorageFile
|
||||
dataFile *os.File
|
||||
dataFile *os.File
|
||||
)
|
||||
if dstDatBackend, err = createVolumeFile(dstDatName, preallocate, 0); err != nil {
|
||||
return
|
||||
|
Reference in New Issue
Block a user