filer: move buckets folder to filer.toml since it should not be changed often

This commit is contained in:
Chris Lu
2020-02-24 14:42:57 -08:00
parent d8dec2323b
commit 5bcb44eda9
4 changed files with 3 additions and 5 deletions

View File

@@ -83,6 +83,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
util.LoadConfiguration("notification", false)
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete")
fs.option.DirBucketsPath = v.GetString("filer.option.buckets_folder")
fs.filer.LoadConfiguration(v)
notification.LoadConfiguration(v, "notification.")