We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1390d9f commit 80013ebCopy full SHA for 80013eb
plugin.go
@@ -489,13 +489,7 @@ func (p *Plugin) createS3Client() *s3.S3 {
489
})
490
491
// Create new client with same config but updated credentials
492
- client = s3.New(sess, &aws.Config{
493
- Region: aws.String(p.Region),
494
- Endpoint: &p.Endpoint,
495
- DisableSSL: aws.Bool(strings.HasPrefix(p.Endpoint, "http://")),
496
- S3ForcePathStyle: aws.Bool(p.PathStyle),
497
- Credentials: creds,
498
- })
+ client = s3.New(sess, &aws.Config{Credentials: creds})
499
}
500
501
return client
0 commit comments