Skip to content

Commit

Permalink
Fix clippy lints for the canary Lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti committed Nov 3, 2022
1 parent 4f71d15 commit b8d09de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ci-cdk/canary-lambda/src/s3_canary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::{mk_canary, CanaryEnv};
use anyhow::Context;
use aws_sdk_s3 as s3;
use s3::error::{GetObjectError, GetObjectErrorKind};
use s3::types::{ByteStream, SdkError};
use s3::types::ByteStream;
use uuid::Uuid;

const METADATA_TEST_VALUE: &str = "some value";
Expand Down Expand Up @@ -44,7 +44,7 @@ pub async fn s3_canary(client: s3::Client, s3_bucket_name: String) -> anyhow::Re
} => {
// good
}
err @ _ => Err(err).context("unexpected s3::GetObject failure")?,
err => Err(err).context("unexpected s3::GetObject failure")?,
},
}

Expand Down

0 comments on commit b8d09de

Please sign in to comment.