Typing error in conf.go

This commit is contained in:
Wim Brand
2018-01-08 11:50:47 +01:00
parent d31cc4d7c1
commit e08a31465a

View File

@@ -44,7 +44,7 @@ func Init() {
if err != nil {
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
writeCfg()
log.Warn("Generated config file \"pdapiconf.toml\", please edit and run again.")
log.Warn("Generated config file \"pdwebconf.toml\", please edit and run again.")
os.Exit(0)
} else if _, ok := err.(viper.ConfigParseError); ok {
log.Error("Could not parse config file: ", err)