Skip to content

Commit

Permalink
fixup: lambda: fix bucket name
Browse files Browse the repository at this point in the history
  • Loading branch information
davide125 committed May 13, 2024
1 parent 1f811a9 commit ab59e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resctl-bench/src/lambda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const RESULT_PATH: &'static str = "/tmp/result.json.gz";
// For testing purpose.
//const IOCOST_BUCKET: &'static str = "iocostbucket";
//const IOCOST_BUCKET_REGION: &'static str = "eu-north-1";
const IOCOST_BUCKET: &'static str = "iocost-submit-us-east-1";
const IOCOST_BUCKET: &'static str = "iocost-submit";
const IOCOST_BUCKET_REGION: &'static str = "us-east-1";

pub fn init_lambda() {
Expand Down Expand Up @@ -123,7 +123,7 @@ impl LambdaHelper {
let output = self
.s3
.get_object()
.bucket(IOCOST_BUCKET)
.bucket(format!("{}-{}", IOCOST_BUCKET, IOCOST_BUCKET_REGION))
.key(object_name)
.send()
.await;
Expand Down

0 comments on commit ab59e43

Please sign in to comment.