mirror of
https://github.com/minio/minio.git
synced 2026-11-28 15:31:49 +00:00
signature/region: Remove 'milkyway' and use 'us-east-1' as default.
Fixes #980
This commit is contained in:
1 parent
fe2cb11e76
commit
7c91a8495f
5 files changed
+8
-8
No files matched your search
+2
-2
@@ -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),
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user