Skip to content

Commit b1a7c54

Browse files
sutaakaropenshift-merge-bot[bot]
authored andcommitted
Use correct environment variables for S3 buckets
1 parent fc182c0 commit b1a7c54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/fms/support.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func uploadToS3(test Test, namespace string, pvcName string, storedAssetsPath st
4646
test.Expect(found).To(BeTrue(), "Storage bucket access key id needs to be specified for S3 upload")
4747
secretKey, found := GetStorageBucketSecretKey()
4848
test.Expect(found).To(BeTrue(), "Storage bucket secret key needs to be specified for S3 upload")
49-
bucketName, found := GetStorageBucketName()
49+
bucketName, found := GetStorageBucketUploadName()
5050
test.Expect(found).To(BeTrue(), "Storage bucket name needs to be specified for S3 upload")
5151
bucketPath := GetStorageBucketUploadModelPath()
5252

@@ -124,7 +124,7 @@ func downloadFromS3(test Test, namespace string, pvcName string, storedAssetsPat
124124
test.Expect(found).To(BeTrue(), "Storage bucket access key id needs to be specified for download from S3")
125125
secretKey, found := GetStorageBucketSecretKey()
126126
test.Expect(found).To(BeTrue(), "Storage bucket secret key needs to be specified for download from S3")
127-
bucketName, found := GetStorageBucketName()
127+
bucketName, found := GetStorageBucketDownloadName()
128128
test.Expect(found).To(BeTrue(), "Storage bucket name needs to be specified for download from S3")
129129
bucketPath := GetStorageBucketDownloadModelPath()
130130

0 commit comments

Comments
 (0)