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

[metrics_forwarder] Add missing nil check in setupV2 #613

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

davidor
Copy link
Member

@davidor davidor commented Sep 16, 2022

What does this PR do?

Adds a missing nil check in the metrics forwarder.

Enabling metrics forwarder with V2 without providing a cluster name resulted in a panic.

Describe your test plan

Shouldn't panic.

@davidor davidor requested review from a team as code owners September 16, 2022 11:19
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request does not contain a valid label. Please add one of the following labels: bug, enhancement, refactoring, documentation, tooling

@davidor davidor added the bug Something isn't working label Sep 16, 2022
@davidor davidor added this to the v1.0.0 milestone Sep 16, 2022
@davidor davidor merged commit 15447c2 into main Sep 16, 2022
@davidor davidor deleted the davidor/fix-metrics-forwarder-setup-v2 branch September 16, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants