Skip to content

Commit

Permalink
feat(recon): fixed clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdk02 committed Jan 12, 2025
1 parent cee6b60 commit df1b2f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/analytics/src/lambda_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,15 @@ pub async fn lambda_handler(
function_name: &str,
region: &str,
json_bytes: &[u8],
s3_path: &String,
s3_path: &str,
) -> CustomResult<LambdaResponse, AnalyticsError> {
let invoke_lambda_status_code = invoke_lambda_get_status(function_name, region, json_bytes)
.await
.change_context(AnalyticsError::UnknownError)
.attach_printable("Lambda invocation failed")?;
let response = LambdaResponse {
s3_path: s3_path.clone(),
s3_path: ss3_path.to_owned(),
invocation_status_code: invoke_lambda_status_code,
};
print!("Lambda invocation response: {:?}", response.clone());
Ok(response)
}

0 comments on commit df1b2f3

Please sign in to comment.