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

scraperhelper: fix case when returned pdata is empty #3520

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

jrcamp
Copy link
Contributor

@jrcamp jrcamp commented Jun 29, 2021

On error pdata.Metrics may not be initialized so guard against it. Update test
to return uninitialized object on error.

On error pdata.Metrics may not be initialized so guard against it. Update test
to return uninitialized object on error.
@jrcamp jrcamp marked this pull request as ready for review June 29, 2021 17:12
@jrcamp jrcamp requested review from a team and bogdandrutu June 29, 2021 17:12
@bogdandrutu bogdandrutu merged commit cbee3b3 into open-telemetry:main Jun 29, 2021
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