1
0
Fork 0
mirror of https://github.com/Luzifer/git-changerelease.git synced 2024-12-20 11:01:16 +00:00

Fix: Do not marshal into pointer of pointer

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-07-03 09:55:07 +02:00
parent 9e38577a64
commit 5353ad2f71
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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)
}