We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f811a9 commit ab59e43Copy full SHA for ab59e43
resctl-bench/src/lambda.rs
@@ -23,7 +23,7 @@ const RESULT_PATH: &'static str = "/tmp/result.json.gz";
23
// For testing purpose.
24
//const IOCOST_BUCKET: &'static str = "iocostbucket";
25
//const IOCOST_BUCKET_REGION: &'static str = "eu-north-1";
26
-const IOCOST_BUCKET: &'static str = "iocost-submit-us-east-1";
+const IOCOST_BUCKET: &'static str = "iocost-submit";
27
const IOCOST_BUCKET_REGION: &'static str = "us-east-1";
28
29
pub fn init_lambda() {
@@ -123,7 +123,7 @@ impl LambdaHelper {
123
let output = self
124
.s3
125
.get_object()
126
- .bucket(IOCOST_BUCKET)
+ .bucket(format!("{}-{}", IOCOST_BUCKET, IOCOST_BUCKET_REGION))
127
.key(object_name)
128
.send()
129
.await;
0 commit comments