Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trueleo committed Mar 21, 2023
1 parent 3e8fd9a commit b5d2921
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions object_store/src/aws/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ enum Error {
source: std::num::ParseIntError,
},

#[snafu(display(
"Invalid Checksum algorithm, valid values are sha256, sha1, crc32, crc32c"
))]
#[snafu(display("Invalid Checksum algorithm"))]
InvalidChecksumAlgorithm,

#[snafu(display("Missing region"))]
Expand Down Expand Up @@ -1290,7 +1288,7 @@ mod tests {
let integration = config.build().unwrap();
put_get_delete_list_opts(&integration, is_local).await;

// run integration test with unsigned payload enabled
// run integration test with checksum set to sha256
let config = maybe_skip_integration!().with_checksum_algorithm(Checksum::SHA256);
let is_local = matches!(&config.endpoint, Some(e) if e.starts_with("http://"));
let integration = config.build().unwrap();
Expand Down

0 comments on commit b5d2921

Please sign in to comment.