Something I saw missing from our usage of the cloud-sdk.
Description
Adds a proper context object to API functions that create SearchDeploymentsParams structs.
Motivation and Context
Adding a context to http calls is considered best practice in Go.
How Has This Been Tested?
I haven't tested this but I don't think more coverage is needed as the default case (no context) will behave the same and if a context is provided, it will be passed to the http client.
Types of Changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improves code quality but has no user-facing effect)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation
Readiness Checklist
[x] My code follows the code style of this project
[ ] My change requires a change to the documentation
Something I saw missing from our usage of the cloud-sdk.
Description
Adds a proper context object to API functions that create
SearchDeploymentsParams
structs.Motivation and Context
Adding a context to http calls is considered best practice in Go.
How Has This Been Tested?
I haven't tested this but I don't think more coverage is needed as the default case (no context) will behave the same and if a context is provided, it will be passed to the http client.
Types of Changes
Readiness Checklist