aboutsummaryrefslogtreecommitdiff
path: root/src/api/signature/streaming.rs
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2024-02-15 11:14:01 +0000
committerAlex <alex@adnab.me>2024-02-15 11:14:01 +0000
commita2ab275da80159ea2f0606d129790d79d43b4e24 (patch)
tree99262aea3f9b2492ade313222bdfb144155a0ad6 /src/api/signature/streaming.rs
parent823078b4cdaf93e09de0847c5eaa75beb7b26b7f (diff)
parent1b0f167d2f964a4fa287a30ce0cb8e6d9b9a1d0c (diff)
downloadgarage-a2ab275da80159ea2f0606d129790d79d43b4e24.tar.gz
garage-a2ab275da80159ea2f0606d129790d79d43b4e24.zip
Merge pull request 'Fix cargo warnings in Cargo.toml files' (#718) from fix-cargo-toml into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/718
Diffstat (limited to 'src/api/signature/streaming.rs')
-rw-r--r--src/api/signature/streaming.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/signature/streaming.rs b/src/api/signature/streaming.rs
index 39147ca0..a2a71f6b 100644
--- a/src/api/signature/streaming.rs
+++ b/src/api/signature/streaming.rs
@@ -349,7 +349,7 @@ mod tests {
crate::signature::signing_hmac(&datetime, secret_key, region, "s3").unwrap();
let data: &[&[u8]] = &[b"1"];
- let body = futures::stream::iter(data.iter().map(|block| Ok(block.as_ref().into())));
+ let body = futures::stream::iter(data.iter().map(|block| Ok(block.to_vec().into())));
let seed_signature = Hash::default();