signature/region: Remove 'milkyway' and use 'us-east-1' as default.

Fixes #980
This commit is contained in:
Harshavardhana committed 2015-11-23 13:40:23 -08:00
1 parent fe2cb11e76
commit 7c91a8495f
5 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -23,11 +23,11 @@ import (
)
func main() {
// Create an S3 service object in the "milkyway" region
// Create an S3 service object in the default region.
s3Client := s3.New(&aws.Config{
Credentials: credentials.NewStaticCredentials("<YOUR-ACCESS-ID>", "<YOUR-SECRET-ID>", ""),
Endpoint: aws.String("http://localhost:9000"),
Region: aws.String("milkyway"),
Region: aws.String("us-east-1"),
DisableSSL: aws.Bool(true),
S3ForcePathStyle: aws.Bool(true),
})