Skip to content
Snippets Groups Projects
Commit c6ab95f7 authored by ale's avatar ale
Browse files

Oops, config.Config pointer can't be empty

parent efe1ce96
Branches
Tags
No related merge requests found
......@@ -31,7 +31,7 @@ func loadConfig() (*Config, error) {
if err != nil {
return nil, err
}
var config Config
config := Config{Config: new(server.Config)}
if err := yaml.Unmarshal(data, &config); err != nil {
return nil, err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment