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

Fix exception when using internal URL #1884

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Conversation

llamasoft
Copy link
Contributor

Cloud Files has no concept of an "internal" CDN so the endpoint type must be hard-coded to "external". Sample Cloud Files service catalog listing: https://docs.rackspace.com/docs/cloud-files/v1/getting-started/authenticate#cloud-files-auth-response

Fixes Cloud Files exception when using internal URL

Description

Fixes #1883

Status

Ready for review.

Checklist (tick everything that applies)

  • Code linting (required, can be done after the PR checks)
  • Documentation
  • Tests
  • ICLA (required for bigger changes)

Cloud Files has no concept of an "internal" CDN so the endpoint type must be hard-coded to "external".
Sample Cloud Files service catalog listing: https://docs.rackspace.com/docs/cloud-files/v1/getting-started/authenticate#cloud-files-auth-response
@Kami
Copy link
Member

Kami commented Jul 31, 2023

@llamasoft Thanks for the contribution. The change looks good to me, but it's missing corresponding unit tests.

asfgit pushed a commit that referenced this pull request Jul 31, 2023
@asfgit asfgit merged commit 504354c into apache:trunk Jul 31, 2023
@Kami
Copy link
Member

Kami commented Jul 31, 2023

I added a very basic test case (b0035eb) and merged change into trunk.

Thanks again for your contribution.

@Kami Kami added this to the v3.8.0 milestone Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rackspace Cloud Files use_internal_url setting causes exception
3 participants