mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-31 17:30:42 +01:00
fix setting default value
This commit is contained in:
1 parent
54debdc6f7
commit
745f5d2a25
1 file changed
+2
-2
@@ -91,8 +91,8 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
|
||||
util.LoadConfiguration("notification", false)
|
||||
|
||||
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete")
|
||||
v.Set("filer.options.buckets_folder", "/buckets")
|
||||
v.Set("filer.options.queues_folder", "/queues")
|
||||
v.SetDefault("filer.options.buckets_folder", "/buckets")
|
||||
v.SetDefault("filer.options.queues_folder", "/queues")
|
||||
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder")
|
||||
fs.filer.DirQueuesPath = v.GetString("filer.options.queues_folder")
|
||||
fs.filer.LoadConfiguration(v)
|
||||
|
||||
Reference in new issue
Block a user