aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-11-14 22:20:38 -0800
committerChris Lu <chris.lu@gmail.com>2019-11-14 22:20:38 -0800
commitde0c983808aa6f2aff2bcba031f0e896ae5300db (patch)
tree4efc67a28a395c1024bc06056888c9dc502d4cc4 /weed/command
parentc6e8225a2090acce1e97ff110c5b4999e1d1c408 (diff)
downloadseaweedfs-de0c983808aa6f2aff2bcba031f0e896ae5300db.tar.xz
seaweedfs-de0c983808aa6f2aff2bcba031f0e896ae5300db.zip
refactoring scaffolding for master.toml
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/scaffold.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 76b244a05..ed7df359a 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -346,10 +346,11 @@ scripts = """
"""
sleep_minutes = 17 # sleep minutes between each script execution
-filer_url = "http://localhost:8888/"
-
-sequencer_type = memory # Choose [memory|etcd] type for storing the file id sequence
+[master.filer]
+default_filer_url = "http://localhost:8888/"
+[master.sequencer]
+type = memory # Choose [memory|etcd] type for storing the file id sequence
# when sequencer.type = etcd, set listen client urls of etcd cluster that store file id sequence
# example : http://127.0.0.1:2379,http://127.0.0.1:2389
sequencer_etcd_urls = http://127.0.0.1:2379