Skip to content

Remove context from the Provider client#2970

Merged
mandre merged 1 commit intogophercloud:masterfrom
shiftstack:remove_provider_context
Mar 7, 2024
Merged

Remove context from the Provider client#2970
mandre merged 1 commit intogophercloud:masterfrom
shiftstack:remove_provider_context

Conversation

@pierreprinetti
Copy link
Copy Markdown
Member

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.
@pierreprinetti pierreprinetti force-pushed the remove_provider_context branch from 69c0801 to d17658b Compare March 6, 2024 15:42
@github-actions github-actions bot added semver:major Breaking change and removed semver:major Breaking change labels Mar 6, 2024
@coveralls
Copy link
Copy Markdown

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
Copy Markdown
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
@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.

4 participants