diff --git a/config/config.go b/config/config.go index 29b3c9d..1ed5928 100644 --- a/config/config.go +++ b/config/config.go @@ -63,10 +63,6 @@ func GetConf(filename string) (*Conf, error) { return nil, err } - err = vv.Unmarshal(&cnf) - if err != nil { - log.Print("Could not read config file into struct: \n", err) - return nil, err - } + vv.Unmarshal(&cnf) return cnf, nil }