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

Fixes #980
This commit is contained in:
Harshavardhana
2015-11-23 13:39:57 -08:00
parent fe2cb11e76
commit 7c91a8495f
5 changed files with 8 additions and 8 deletions
+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),
})