diff --git a/config.go b/config.go index 6b721bd..0f82fc1 100644 --- a/config.go +++ b/config.go @@ -32,5 +32,5 @@ func loadConfig() (*configFile, error) { defer dataFile.Close() c := &configFile{} - return c, yaml.NewDecoder(dataFile).Decode(&c) + return c, yaml.NewDecoder(dataFile).Decode(c) }