mirror of
https://github.com/rclone/rclone
synced 2024-11-26 04:07:22 +01:00
Fix after go vet
This commit is contained in:
parent
fdb1ec4d53
commit
a0a789ff0f
2
fs_s3.go
2
fs_s3.go
@ -88,7 +88,7 @@ func s3Connection() (*s3.S3, error) {
|
||||
if *awsSecretAccessKey == "" {
|
||||
return nil, errors.New("Need -aws-secret-access-key or environmental variable AWS_SECRET_ACCESS_KEY")
|
||||
}
|
||||
auth := aws.Auth{*awsAccessKeyId, *awsSecretAccessKey}
|
||||
auth := aws.Auth{AccessKey: *awsAccessKeyId, SecretKey: *awsSecretAccessKey}
|
||||
|
||||
// FIXME look through all the regions by name and use one of them if found
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user