Skip to content

fix(gcp): prevent crash for missing record #846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

mcfedr
Copy link
Contributor

@mcfedr mcfedr commented Oct 21, 2024

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

Copy link
Owner

@qdm12 qdm12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!!! 🎖️

@qdm12 qdm12 merged commit bb231bc into qdm12:master Oct 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants