diff options
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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 } |
