Skip to content

Commit

Permalink
Fix region endpoint for cn-north-1
Browse files Browse the repository at this point in the history
The endpoint heuristic rule is wrong.
Also looks like the local region changes
weren't scripts/buildall'd, so that shows
up in the diff
  • Loading branch information
jamesls committed Jun 20, 2014
1 parent aac7783 commit 910bc76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions botocore/data/aws/_endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
}
},
{
"uri":"{scheme}://{service}-{region}.amazonaws.com.cn",
"uri":"{scheme}://{service}.{region}.amazonaws.com.cn",
"constraints":[
["region", "startsWith", "cn-"]
]
Expand Down Expand Up @@ -163,7 +163,7 @@
],
"dynamodb": [
{
"uri": "http://localhost:8080",
"uri": "http://localhost:8000",
"constraints": [
["region", "equals", "local"]
],
Expand Down
2 changes: 1 addition & 1 deletion services/_endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
}
},
{
"uri":"{scheme}://{service}-{region}.amazonaws.com.cn",
"uri":"{scheme}://{service}.{region}.amazonaws.com.cn",
"constraints":[
["region", "startsWith", "cn-"]
]
Expand Down

0 comments on commit 910bc76

Please sign in to comment.