acim / hcdns

Go client library for Hetzner DNS API.
Apache License 2.0
5 stars 2 forks source link

[Bug] Records contain their own ID as the zone ID #4

Closed marvinruder closed 1 year ago

marvinruder commented 1 year ago

I uncovered this bug after #2 allowed that line to have an impact at all – its nature as well as the fix are pretty straightforward: In https://github.com/acim/hcdns/blob/c9ed111f80a946d45ca77c2f7f8dbfad821fb38a/zone.go#L103 the ID of the zone must be taken from the zone z.