|
|
@ -115,6 +115,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption) |
|
|
|
v.SetDefault("filer.options.buckets_folder", "/buckets") |
|
|
|
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder") |
|
|
|
// TODO deprecated, will be be removed after 2020-12-31
|
|
|
|
// replaced by https://github.com/chrislusf/seaweedfs/wiki/Path-Specific-Configuration
|
|
|
|
fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync") |
|
|
|
fs.filer.LoadConfiguration(v) |
|
|
|
|
|
|
|