Skip to content
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

Don't panic on nil values #4059

Conversation

divolgin
Copy link
Member

@divolgin divolgin commented Oct 6, 2023

What this PR does / why we need it:

This PR fixes in nil pointer panic in custom metrics handler.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Fixes n bug that caused no status code to be returned from the custom metrics API requests.

Does this PR require documentation?

NONE

@divolgin divolgin added type::bug Something isn't working bug::normal labels Oct 6, 2023
@divolgin divolgin merged commit 0ee260f into main Oct 6, 2023
78 checks passed
@divolgin divolgin deleted the divolgin/sc-89026/custom-metrics-sending-null-as-a-metric-value branch October 6, 2023 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug::normal type::bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants