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

chore: ensure regex is able to handle all types of china endpoints #182

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

karenc-bq
Copy link
Contributor

@karenc-bq karenc-bq commented Jun 18, 2024

Description

Typically the rds preceeds the region in the database endpoints, e.g. abc.cluster-XYZ.rds.cn-northwest-1.amazonaws.com.cn, but some older database endpoints have the region information in front of the rds, e.g. abc.cluster-XYZ.cn-northwest-1.rds.amazonaws.com.cn
This PR updates regex pattern to ensure the driver accepts both types of china endpoints.

Review Status

  • This is ready for review
  • This is complete

Additional Reviewers

@karenc-bq karenc-bq marked this pull request as ready for review June 18, 2024 00:24
@karenc-bq karenc-bq added the ready for review Pull requests that are ready to be reviewed label Jun 18, 2024
@karenc-bq karenc-bq requested a review from leszek-bq June 18, 2024 16:57
@karenc-bq karenc-bq self-assigned this Jun 18, 2024
Copy link

@leszek-bq leszek-bq left a comment

Choose a reason for hiding this comment

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

LGTM

@karenc-bq karenc-bq merged commit 909cbf1 into main Jun 18, 2024
4 checks passed
@karenc-bq karenc-bq deleted the china_region branch June 18, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review Pull requests that are ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants