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

Pass request with context on client call #274

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

mabdh
Copy link
Contributor

@mabdh mabdh commented Aug 8, 2023

Currently, context is passed through all client functions but not being used as it supposed to be and always use context.Background() by default.

This changes will let context being passed to the HTTP request. This will give user more flexibility on circuit braking and tracing.

@mabdh mabdh requested a review from a team as a code owner August 8, 2023 11:02
@CLAassistant
Copy link

CLAassistant commented Aug 8, 2023

CLA assistant check
All committers have signed the CLA.

@mabdh mabdh changed the title pass request with context on client call Pass request with context on client call Aug 8, 2023
Copy link

@dimitarvdimitrov dimitarvdimitrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@dimitarvdimitrov
Copy link

The linter is failing with what looks like an unrelated error

@dimitarvdimitrov dimitarvdimitrov merged commit 96f4336 into grafana:main Aug 14, 2023
2 of 3 checks passed
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.

3 participants