From a0a789ff0f2a5ca38a841df574a70da1253cc2ae Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 17 Jan 2013 21:37:28 +0000 Subject: [PATCH] Fix after go vet --- fs_s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs_s3.go b/fs_s3.go index 9c4782ff0..8f0586888 100644 --- a/fs_s3.go +++ b/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