This commit is contained in:
Chris Lu 2019-12-25 09:56:42 -08:00
parent d960b3474a
commit eecad6062a
3 changed files with 6 additions and 6 deletions

View file

@ -42,7 +42,7 @@ func downloadFromS3(sess s3iface.S3API, destFileName string, sourceBucket string
}
// Download the file from S3.
fileSize, err = downloader.Download(fileWriter,&s3.GetObjectInput{
fileSize, err = downloader.Download(fileWriter, &s3.GetObjectInput{
Bucket: aws.String(sourceBucket),
Key: aws.String(sourceKey),
})