[PR #846] fix(gcp): prevent crash for missing record #873

Closed
opened 2025-11-20 04:26:22 -05:00 by saavagebueno · 0 comments
Owner

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

**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
saavagebueno added the pull-request label 2025-11-20 04:26:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#873