-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Conversation
There was a problem hiding this 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
… the meta client
…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.
374273d
to
562ea76
Compare
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. |
This PR refactors the
network
clients which make use ofhashicorp/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.