diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-13 15:10:52 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-13 15:10:52 +0200 |
commit | f82b938033f1a01a136315b5f37ecb89b78bca0c (patch) | |
tree | aacba0081d4bd854f3d29a6b9d94202ef94b980d /src/api/signature | |
parent | 96b11524d53b3616a28f33e2b057655be1639f6f (diff) | |
download | garage-f82b938033f1a01a136315b5f37ecb89b78bca0c.tar.gz garage-f82b938033f1a01a136315b5f37ecb89b78bca0c.zip |
Rename error::Error to s3::error::Error
Diffstat (limited to 'src/api/signature')
-rw-r--r-- | src/api/signature/mod.rs | 2 | ||||
-rw-r--r-- | src/api/signature/payload.rs | 2 | ||||
-rw-r--r-- | src/api/signature/streaming.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/api/signature/mod.rs b/src/api/signature/mod.rs index e3554080..4679747f 100644 --- a/src/api/signature/mod.rs +++ b/src/api/signature/mod.rs @@ -4,7 +4,7 @@ use sha2::Sha256; use garage_util::data::{sha256sum, Hash}; -use crate::error::*; +use crate::s3::error::*; pub mod payload; pub mod streaming; diff --git a/src/api/signature/payload.rs b/src/api/signature/payload.rs index 52c4d401..47445bc7 100644 --- a/src/api/signature/payload.rs +++ b/src/api/signature/payload.rs @@ -15,7 +15,7 @@ use super::LONG_DATETIME; use super::{compute_scope, signing_hmac}; use crate::encoding::uri_encode; -use crate::error::*; +use crate::s3::error::*; pub async fn check_payload_signature( garage: &Garage, diff --git a/src/api/signature/streaming.rs b/src/api/signature/streaming.rs index 6c326c54..06a0512e 100644 --- a/src/api/signature/streaming.rs +++ b/src/api/signature/streaming.rs @@ -12,7 +12,7 @@ use garage_util::data::Hash; use super::{compute_scope, sha256sum, HmacSha256, LONG_DATETIME}; -use crate::error::*; +use crate::s3::error::*; pub fn parse_streaming_body( api_key: &Key, |