aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
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
`