Skip to content

Commit f8c32cd

Browse files
authored
Merge pull request #297 from davide125/s3
resctl-bench: update S3 bucket in the lamba
2 parents da9cb47 + 5c05e24 commit f8c32cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resctl-bench/src/lambda.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use crate::job::{FormatOpts, JobCtxs};
1717
// and isolated - each concurrent instance runs on its own environment.
1818
const RESULT_PATH: &'static str = "/tmp/result.json.gz";
1919
const IOCOST_BUCKET: &'static str = "iocost-submit";
20-
const IOCOST_BUCKET_REGION: &'static str = "eu-west-1";
20+
const IOCOST_BUCKET_REGION: &'static str = "us-east-1";
2121

2222
pub fn init_lambda() {
2323
let executable_path = std::env::current_exe().expect("Failed to get executable path");
@@ -139,8 +139,8 @@ impl LambdaHelper {
139139
.await?;
140140

141141
Ok(format!(
142-
"https://{}.s3.{}.amazonaws.com/{}",
143-
IOCOST_BUCKET, IOCOST_BUCKET_REGION, object_name
142+
"https://{}-{}.s3.{}.amazonaws.com/{}",
143+
IOCOST_BUCKET, IOCOST_BUCKET_REGION, IOCOST_BUCKET_REGION, object_name
144144
))
145145
}
146146

0 commit comments

Comments
 (0)