Removing error check that can never be forced
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
This commit is contained in:
parent
538e23708a
commit
0a6caeffc5
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user