Skip to content

Commit

Permalink
add latest
Browse files Browse the repository at this point in the history
  • Loading branch information
fnzv committed Oct 29, 2023
1 parent a3d7b17 commit a2431d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2c.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func uploadToS3(destination, filePath, region, queryName string) {
return
}

objectKey := fmt.Sprintf("%s/%s-%s.csv", s3Path, "latest", cleanedQueryName)
objectKey = fmt.Sprintf("%s/%s-%s.csv", s3Path, "latest", cleanedQueryName)
_, err = svc.PutObject(&s3.PutObjectInput{
Bucket: aws.String(bucketName),
Key: aws.String(objectKey),
Expand Down

0 comments on commit a2431d9

Please sign in to comment.