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),
})

View File

@@ -59,4 +59,4 @@ func deleteFromS3(sess s3iface.S3API, sourceBucket string, sourceKey string) (er
Key: aws.String(sourceKey),
})
return err
}
}