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

network - refactoring the usages of hashicorp/go-azure-sdk to use a Meta Client #22676

Merged
merged 24 commits into from
Jul 28, 2023

Conversation

tombuildsstuff
Copy link
Contributor

This PR refactors the network clients which make use of hashicorp/go-azure-sdk to make use of a Meta Client, rather than importing these individually.

Since we import basically the entirety of the network package, using a Meta Client will make life easier here since we can update all of the Clients to use the same API version at once - rather than importing different versions of the SDK / having conflicts across PR's.

Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

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

Tests are passing! LGTM once the conflicting vendored files are fixed up

…ct Subnet ID

We shouldn't be using `d.Get` within the Delete function, since this isn't guaranteed to return
a value - since these are returned from the API we can look these up instead.
@tombuildsstuff tombuildsstuff added this to the v3.68.0 milestone Jul 27, 2023
@tombuildsstuff tombuildsstuff force-pushed the refactor/network-gets-a-meta-client branch from 374273d to 562ea76 Compare July 27, 2023 03:00
@tombuildsstuff tombuildsstuff merged commit 44d0a50 into main Jul 28, 2023
@tombuildsstuff tombuildsstuff deleted the refactor/network-gets-a-meta-client branch July 28, 2023 04:04
tombuildsstuff added a commit that referenced this pull request Jul 28, 2023
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants