Typing error in conf.go
This commit is contained in:
1 parent
d31cc4d7c1
commit
e08a31465a
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user