mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-01 01:58:39 -04:00
[PR #846] fix(gcp): prevent crash for missing record #873
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/qdm12/ddns-updater/pull/846
State: closed
Merged: Yes
Currently if the record is missing from GCP updater will crash with a null pointer at
for _, rrdata := range recordResourceSet.Rrdatas {so this moves the case when its null first and prevents the crash