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

[receiver/podman] remove duplicate Timeout setting #26083

Merged
merged 7 commits into from
Aug 29, 2023

Conversation

codeboten
Copy link
Contributor

Use the Timeout setting from ScraperHelper instead

Use the Timeout setting from ScraperHelper instead

Signed-off-by: Alex Boten <[email protected]>
Signed-off-by: Alex Boten <[email protected]>
@dmitryax
Copy link
Member

podman receiver sets the timeout on the context which is already done by the scraper helper. So it can be removed I believe

statsCtx, cancel := context.WithTimeout(ctx, pc.config.Timeout)

@TylerHelmuth TylerHelmuth merged commit ee403a9 into open-telemetry:main Aug 29, 2023
@github-actions github-actions bot added this to the next release milestone Aug 29, 2023
@codeboten codeboten deleted the codeboten/rm-dupe-podman branch August 29, 2023 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants