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

Remove context from the Provider client #2970

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

pierreprinetti
Copy link
Contributor

Now that Gophercloud has per-call context, the context.Context in the Provider client is redundant and difficult to get right.

This patch removes support for attaching a context to the Provider client.

See also #2969

@pierreprinetti pierreprinetti requested a review from a team March 6, 2024 15:41
Now that Gophercloud has per-call context, the `context.Context` in the
Provider client is redundant and difficult to get right.

This patch removes support for attaching a context to the Provider
client.
@github-actions github-actions bot added semver:major Breaking change and removed semver:major Breaking change labels Mar 6, 2024
@coveralls
Copy link

coveralls commented Mar 6, 2024

Coverage Status

coverage: 77.273% (-0.004%) from 77.277%
when pulling d17658b on shiftstack:remove_provider_context
into f3f6e4f on gophercloud:master.

@pierreprinetti pierreprinetti changed the title Remove context from the Provider client [v2] Remove context from the Provider client Mar 6, 2024
@pierreprinetti pierreprinetti changed the title [v2] Remove context from the Provider client Remove context from the Provider client Mar 7, 2024
Copy link
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

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

LGTM

@mandre mandre merged commit 0a19254 into gophercloud:master Mar 7, 2024
13 checks passed
@mandre mandre deleted the remove_provider_context branch March 7, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:major Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants