Skip to content

when a request is made to a CDN endpoint there is no internalURL to use,... - #231

Closed
jobelenus wants to merge 2 commits into
apache:trunkfrom
activefrequency:fix-endpoint-url-cdn-request
Closed

when a request is made to a CDN endpoint there is no internalURL to use,...#231
jobelenus wants to merge 2 commits into
apache:trunkfrom
activefrequency:fix-endpoint-url-cdn-request

Conversation

@jobelenus

Copy link
Copy Markdown
Contributor

... we have to fall back to the publicURL. This was an oversight on my part with my first pull request --#229

And this is the fix

Comment thread libcloud/storage/drivers/cloudfiles.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Those attributes need better name.

On top of that, if they are upper case (constants) they should probably be stored on module level and not on class level.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I was thinking about making them module level, but they only apply to the connection class.

@asfgit asfgit closed this in 34c3df4 Jan 30, 2014
@Kami

Kami commented Jan 30, 2014

Copy link
Copy Markdown
Member

Thanks for making those changes.

There were some lint issues which I have fixed and merged patch into trunk. Next time please run tox -e lint and make sure there are no lint issues.

@jobelenus

Copy link
Copy Markdown
Contributor Author

Ah thanks for that local command, I was always waiting for Travis to fail me :(

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