mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
filer: fix configuration settings
This commit is contained in:
parent
90d576affe
commit
54debdc6f7
|
@ -91,10 +91,10 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
|
||||||
util.LoadConfiguration("notification", false)
|
util.LoadConfiguration("notification", false)
|
||||||
|
|
||||||
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete")
|
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete")
|
||||||
v.Set("filer.option.buckets_folder", "/buckets")
|
v.Set("filer.options.buckets_folder", "/buckets")
|
||||||
v.Set("filer.option.queues_folder", "/queues")
|
v.Set("filer.options.queues_folder", "/queues")
|
||||||
fs.filer.DirBucketsPath = v.GetString("filer.option.buckets_folder")
|
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder")
|
||||||
fs.filer.DirQueuesPath = v.GetString("filer.option.queues_folder")
|
fs.filer.DirQueuesPath = v.GetString("filer.options.queues_folder")
|
||||||
fs.filer.LoadConfiguration(v)
|
fs.filer.LoadConfiguration(v)
|
||||||
|
|
||||||
notification.LoadConfiguration(v, "notification.")
|
notification.LoadConfiguration(v, "notification.")
|
||||||
|
|
Loading…
Reference in a new issue