Skip to content

scraperhelper: fix case when returned pdata is empty#3520

Merged
bogdandrutu merged 1 commit intoopen-telemetry:mainfrom
jrcamp:fix-partial
Jun 29, 2021
Merged

scraperhelper: fix case when returned pdata is empty#3520
bogdandrutu merged 1 commit intoopen-telemetry:mainfrom
jrcamp:fix-partial

Conversation

@jrcamp
Copy link
Copy Markdown
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