deprecating "filer.options.buckets_fsync" in filer.toml

This commit is contained in:
Chris Lu
2020-11-16 16:56:49 -08:00
parent 5f19e81dab
commit ef3e068c51
2 changed files with 1 additions and 4 deletions

View File

@@ -114,6 +114,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete")
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
fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync")
fs.filer.LoadConfiguration(v)