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

fix(input/prometheus): move err check to correct place #9920

Merged
merged 1 commit into from
Oct 13, 2021
Merged

Conversation

sspaink
Copy link
Contributor

@sspaink sspaink commented Oct 13, 2021

The error returned by http.NewRequest was checked after using the returned request which could be nil.

@sspaink sspaink added fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. labels Oct 13, 2021
@sspaink sspaink merged commit 432b30d into master Oct 13, 2021
@sspaink sspaink deleted the moveerrork8 branch October 13, 2021 19:43
powersj pushed a commit that referenced this pull request Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants