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

S3 - Add case handling for Us Standard zone #177

Merged
merged 2 commits into from
Feb 13, 2017
Merged

Conversation

callicles
Copy link
Contributor

@callicles callicles commented Feb 9, 2017

Add a quick fix for the US standard zone
#175 - #171

@lightbend-cla-validator
Copy link

Hi @callicles,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:

http://www.lightbend.com/contribute/cla

@callicles
Copy link
Contributor Author

I signed the agreement

@callicles callicles changed the title #175 - #171 - Add case handling for Us Standard zone S3 - Add case handling for Us Standard zone Feb 10, 2017
@od0
Copy link

od0 commented Feb 10, 2017

+1

Copy link
Member

@johanandren johanandren left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

LGTM

case None =>
region match {
case "us-east-1" => Uri.Host(s"${s3Location.bucket}.s3.amazonaws.com")
case _ => Uri.Host(s"${s3Location.bucket}.s3-$region.amazonaws.com")
Copy link
Member

Choose a reason for hiding this comment

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

ok, so us-east-1 is some kind of special default

@patriknw patriknw merged commit 6e9da0c into akka:master Feb 13, 2017
@patriknw patriknw added this to the 0.6 milestone Feb 13, 2017
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.

None yet

5 participants