You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If record is not present, app should create it, else there will be an error
cannot update IPv4 root record: error unmarshalling the JSON response: json: cannot unmarshal array into Go struct field DNSRecordResponse.result of type cloudflare.DNSRecord
this is due to client.getIpv4Record returning an empty cloudflare.DNSRecord struct.
If record is not present, app should create it, else there will be an error
this is due to
client.getIpv4Record
returning an emptycloudflare.DNSRecord
struct.Checks that make it fail are here: https://github.com/criscola/cloudflare-ddns/blob/main/ddns/client.go#L118 https://github.com/criscola/cloudflare-ddns/blob/main/ddns/client.go#L127 (
record.Name == name
).Note if the record is already present with same name as zone, no error is thrown.
The text was updated successfully, but these errors were encountered: