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

[probes.serverutils] Use context in ServeContext. #781

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

stvnrhodes
Copy link
Contributor

I noticed that https://pkg.go.dev/github.com/cloudprober/cloudprober/probes/external/serverutils#ServeContext doesn't take a context. This has been true since it was added in #695, so it looks like an oversight. This change updates the function to properly take a context (and to work with its example code.

I noticed that https://pkg.go.dev/github.com/cloudprober/cloudprober/probes/external/serverutils#ServeContext doesn't take a context. This has been true since it was added in cloudprober#695, so it looks like an oversight. This change updates the function to properly take a context (and to work with its example code.
@stvnrhodes stvnrhodes marked this pull request as ready for review June 18, 2024 15:15
@manugarg
Copy link
Contributor

Ah, you're right. It does seem like an oversight. Thanks!

@manugarg manugarg merged commit fd3f755 into cloudprober:master Jun 19, 2024
8 checks passed
@manugarg manugarg added this to the v0.13.6 milestone Jun 19, 2024
@manugarg manugarg changed the title Use context in ServeContext. [probes.serverutils] Use context in ServeContext. Jun 19, 2024
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