1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-28 03:22:19 +02:00

Remove ineffectual assignments

This commit is contained in:
Alexandre Iooss
2020-10-14 21:33:51 +02:00
parent e53d5a02ab
commit c3629bdbb5
3 changed files with 6 additions and 3 deletions

View File

@ -85,6 +85,9 @@ func Load() (*Config, error) {
configuro.WithLoadFromConfigFile("/etc/ghostream/ghostream.yml", false),
configuro.WithEnvConfigPathOverload("GHOSTREAM_CONFIG"),
)
if err != nil {
return nil, err
}
// Load default configuration
cfg := New()