From 54debdc6f73678f7e0988e636ee9424d2489f6be Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 7 Apr 2020 01:30:53 -0700 Subject: [PATCH] filer: fix configuration settings --- weed/server/filer_server.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/weed/server/filer_server.go b/weed/server/filer_server.go index 22bbd2a03..106066bb9 100644 --- a/weed/server/filer_server.go +++ b/weed/server/filer_server.go @@ -91,10 +91,10 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption) util.LoadConfiguration("notification", false) fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete") - v.Set("filer.option.buckets_folder", "/buckets") - v.Set("filer.option.queues_folder", "/queues") - fs.filer.DirBucketsPath = v.GetString("filer.option.buckets_folder") - fs.filer.DirQueuesPath = v.GetString("filer.option.queues_folder") + v.Set("filer.options.buckets_folder", "/buckets") + v.Set("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) notification.LoadConfiguration(v, "notification.")