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 3ba2c1e commit 4b9e146Copy full SHA for 4b9e146
method/method.go
@@ -307,7 +307,7 @@ func (m *Method) uriAcquire(msg *message.Message) {
307
func (m *Method) s3Client(s3Uri *url.URL) s3iface.S3API {
308
awsAccessKeyID := s3Uri.User.Username()
309
awsSecretAccessKey, hasPass := s3Uri.User.Password()
310
- var config = &aws.Config{
+ config := &aws.Config{
311
Region: aws.String(m.region),
312
}
313
if awsAccessKeyID != "" {
0 commit comments