aboutsummaryrefslogtreecommitdiff
path: root/src/api/signature/error.rs
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2023-02-02 16:16:12 +0000
committerJonathan Davies <jpds@protonmail.com>2023-02-02 16:20:31 +0000
commit1b6ec74748f1182fbfb9b4ce934351b000ccab22 (patch)
treeabab1006ff0f2e68ff377816ab52919310ccdfa4 /src/api/signature/error.rs
parent30f1636a00ffc60d1c9ac1d3781ccee21669e54d (diff)
downloadgarage-1b6ec74748f1182fbfb9b4ce934351b000ccab22.tar.gz
garage-1b6ec74748f1182fbfb9b4ce934351b000ccab22.zip
error.rs: Corrected error messages to say unexpected scope.
Diffstat (limited to 'src/api/signature/error.rs')
-rw-r--r--src/api/signature/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/signature/error.rs b/src/api/signature/error.rs
index f5a067bd..f0d7c816 100644
--- a/src/api/signature/error.rs
+++ b/src/api/signature/error.rs
@@ -11,7 +11,7 @@ pub enum Error {
Common(CommonError),
/// Authorization Header Malformed
- #[error(display = "Authorization header malformed, expected scope: {}", _0)]
+ #[error(display = "Authorization header malformed, unexpected scope: {}", _0)]
AuthorizationHeaderMalformed(String),
// Category: bad request