aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorstlpmo <hq-STLPMO@chinaunicom.cn>2019-11-11 10:52:21 +0800
committerstlpmo <hq-STLPMO@chinaunicom.cn>2019-11-11 10:52:21 +0800
commit62d393d6c90362bd596bd841266ca9390fe3bb86 (patch)
tree6623af543b2edd16b3bae412652a7cded774ef01 /weed/command
parent802a0eb3fe115cd213d1238912fe431601e8f102 (diff)
downloadseaweedfs-62d393d6c90362bd596bd841266ca9390fe3bb86.tar.xz
seaweedfs-62d393d6c90362bd596bd841266ca9390fe3bb86.zip
ut pass
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/master.go1
-rw-r--r--weed/command/scaffold.go4
2 files changed, 2 insertions, 3 deletions
diff --git a/weed/command/master.go b/weed/command/master.go
index d4c2b9b16..3d33f4f7a 100644
--- a/weed/command/master.go
+++ b/weed/command/master.go
@@ -78,7 +78,6 @@ func runMaster(cmd *Command, args []string) bool {
util.LoadConfiguration("security", false)
util.LoadConfiguration("master", false)
- glog.V(0).Infof("%v", viper.GetViper().GetString("master.maintenance.scripts"))
runtime.GOMAXPROCS(runtime.NumCPU())
util.SetupProfiling(*masterCpuProfile, *masterMemProfile)
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 9b266a69d..6fa72c730 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -346,11 +346,11 @@ scripts = """
"""
sleep_minutes = 17 # sleep minutes between each script execution
-sequencer.type = memory # Choose [memory|etcd] type for storing the file id sequence
+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
+sequencer_etcd_urls = http://127.0.0.1:2379
`