config fix
This commit is contained in:
parent
21c22e7121
commit
43f1198b0c
@ -18,9 +18,9 @@ type Config struct {
|
|||||||
func validateConfigEntry(entry string, name string) bool {
|
func validateConfigEntry(entry string, name string) bool {
|
||||||
if entry == "" {
|
if entry == "" {
|
||||||
log.Printf("Error: %v unset", name)
|
log.Printf("Error: %v unset", name)
|
||||||
return false
|
return true
|
||||||
}
|
}
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func LoadConfig() (*Config, error) {
|
func LoadConfig() (*Config, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user