config fix

This commit is contained in:
stryan 2020-08-20 13:06:44 -04:00
parent 21c22e7121
commit 43f1198b0c

View File

@ -18,10 +18,10 @@ type Config struct {
func validateConfigEntry(entry string, name string) bool {
if entry == "" {
log.Printf("Error: %v unset", name)
return false
}
return true
}
return false
}
func LoadConfig() (*Config, error) {
viper.SetConfigName("guildgate")