Skip to content

Commit ab59e43

Browse files
committed
fixup: lambda: fix bucket name
1 parent 1f811a9 commit ab59e43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resctl-bench/src/lambda.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const RESULT_PATH: &'static str = "/tmp/result.json.gz";
2323
// For testing purpose.
2424
//const IOCOST_BUCKET: &'static str = "iocostbucket";
2525
//const IOCOST_BUCKET_REGION: &'static str = "eu-north-1";
26-
const IOCOST_BUCKET: &'static str = "iocost-submit-us-east-1";
26+
const IOCOST_BUCKET: &'static str = "iocost-submit";
2727
const IOCOST_BUCKET_REGION: &'static str = "us-east-1";
2828

2929
pub fn init_lambda() {
@@ -123,7 +123,7 @@ impl LambdaHelper {
123123
let output = self
124124
.s3
125125
.get_object()
126-
.bucket(IOCOST_BUCKET)
126+
.bucket(format!("{}-{}", IOCOST_BUCKET, IOCOST_BUCKET_REGION))
127127
.key(object_name)
128128
.send()
129129
.await;

0 commit comments

Comments
 (0)