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

[BUG] Fix AWS SQS base domain parsing for China region #702

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

LLluma
Copy link
Contributor

@LLluma LLluma commented Aug 22, 2023

Please ensure you adhere to every item in this list

  • This PR was pre-approved by the project maintainer
  • I have self-reviewed the code
  • I have added all necessary tests

Describe your changes

For AWS China region base domain is slightly different than for the rest world. It is amazon.com.cn.
Currently AWS domain is hard coded in the sqs.go. Would be nice if that will be configured parameter.

But this is a minimal possible change which is not breaking exist code and make possible to use it for AWS China region.

For AWS China region base domain is slightly different than for
the rest world. It is `amazon.com.cn`.
Currently AWS domain is hard coded in the `sqs.go`. Would be nice if
that will be configured parameter.

But this is a minimal posible change which is not breaking exist code
and make possible to use it for AWS China region.
@tidwall tidwall merged commit ee61cd1 into tidwall:master Nov 20, 2023
@LLluma LLluma deleted the bug_sqs_url_china_region branch November 22, 2023 09:22
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.

2 participants