summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/config.go b/config.go
index 5bdc770..d8a253b 100644
--- a/config.go
+++ b/config.go
@@ -87,9 +87,6 @@ func (cfg *ForgeConfigs) DumpPB() {
if cfg.GoWork {
log.Infof("Config.GoWork = %v\n", cfg.GoWork)
}
- if cfg.Mode != ForgeMode_NEWUSER {
- log.Infof("Config.Mode = %s\n", cfg.Mode)
- }
// log.Infof("ConfigCfgPB.Hostname=%s\n", cfg.Hostname)
}
@@ -104,7 +101,7 @@ func (cfg *ForgeConfigs) DumpPB() {
}
*/
-func loadStdConfig() *ForgeConfigs {
+func LoadStdConfig() *ForgeConfigs {
cfg := NewForgeConfigs()
err := config.ConfigLoad(cfg, "forge", "forge")
@@ -155,9 +152,6 @@ func loadStdConfig() *ForgeConfigs {
log.Info("config save error:", err)
os.Exit(-1)
}
- log.Info("---- ----")
- log.Info("---- Welcome to forge!!! ----")
- log.Info("---- ----")
return cfg
}