|
@ -114,6 +114,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption) |
|
|
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete") |
|
|
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete") |
|
|
v.SetDefault("filer.options.buckets_folder", "/buckets") |
|
|
v.SetDefault("filer.options.buckets_folder", "/buckets") |
|
|
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder") |
|
|
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder") |
|
|
|
|
|
// TODO deprecated, will be be removed after 2020-12-31
|
|
|
fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync") |
|
|
fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync") |
|
|
fs.filer.LoadConfiguration(v) |
|
|
fs.filer.LoadConfiguration(v) |
|
|
|
|
|
|
|
|