Skip to content

Commit 40bd8c3

Browse files
committed
Update save path
1 parent 80ae674 commit 40bd8c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

runner/aws/s3.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ func NewS3Service(bucketName string, log log.Logger) (*S3Service, error) {
5151
func (s *S3Service) UploadRunResults(outputDir, runID, runOutputDir string) (string, error) {
5252
s.log.Info("Uploading run results to S3", "outputDir", outputDir, "runID", runID, "runOutputDir", runOutputDir, "bucket", s.bucketName)
5353

54-
// Create S3 key prefix for this run using id/outputDir structure
55-
keyPrefix := fmt.Sprintf("%s/%s/", runID, runOutputDir)
54+
keyPrefix := fmt.Sprintf("%s/", runOutputDir)
5655

5756
// Walk through the output directory and upload all files
5857
err := filepath.Walk(outputDir, func(path string, info os.FileInfo, err error) error {

0 commit comments

Comments
 (0)