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

Move endpoint default handling after TPC universe domain logic #9463

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

c2thorn
Copy link
Member

@c2thorn c2thorn commented Nov 13, 2023

splits off the default API endpoint half of HandleSDKDefaults func into its own function and calls that new function after TPC universe domain is set. This allows the basepath defaults to use the new domain if set

The API custom/default endpoints are not used between when HandleSDKDefaults was called to after the TPC universe logic, so this reorder should be safe. HandleSDKDefaults is also not called anywhere else outside of the one use.

Release Note Template for Downstream PRs (will be copied)

provider: fixed an issue where universe domains would not overwrite API endpoints

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 2 files changed, 9 insertions(+), 1 deletion(-))
Terraform Beta: Diff ( 2 files changed, 9 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3225
Passed tests 2896
Skipped tests: 329
Affected tests: 0

$\textcolor{green}{\textsf{All tests passed in REPLAYING mode.}}$
View the build log

@c2thorn c2thorn merged commit f8ee9cd into GoogleCloudPlatform:main Nov 13, 2023
15 checks passed
swamitagupta pushed a commit to swamitagupta/magic-modules that referenced this pull request Nov 14, 2023
davcen pushed a commit to davcen/gcp-magic-modules that referenced this pull request Nov 17, 2023
jialei-chen pushed a commit to jialei-chen/magic-modules that referenced this pull request Nov 29, 2023
cheftako added a commit to cheftako/k8s-config-connector that referenced this pull request Mar 21, 2024
splits off the default API endpoint half of HandleSDKDefaults func into its own function and calls that new function after TPC universe domain is set. This allows the basepath defaults to use the new domain if set

The API custom/default endpoints are not used between when HandleSDKDefaults was called to after the TPC universe logic, so this reorder should be safe. HandleSDKDefaults is also not called anywhere else outside of the one use.

provider: fixed an issue where universe domains would not overwrite API endpoints

- [X] Run `make ready-pr` to ensure this PR is ready for review.
google-oss-prow bot added a commit to GoogleCloudPlatform/k8s-config-connector that referenced this pull request Apr 8, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants