aboutsummaryrefslogtreecommitdiff
path: root/src/api/k2v/error.rs
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-02-03 13:22:40 +0000
committerAlex <alex@adnab.me>2023-02-03 13:22:40 +0000
commitfba8224cf00f7c542150e48a88c22025ff03b948 (patch)
treeabab1006ff0f2e68ff377816ab52919310ccdfa4 /src/api/k2v/error.rs
parent30f1636a00ffc60d1c9ac1d3781ccee21669e54d (diff)
parent1b6ec74748f1182fbfb9b4ce934351b000ccab22 (diff)
downloadgarage-fba8224cf00f7c542150e48a88c22025ff03b948.tar.gz
garage-fba8224cf00f7c542150e48a88c22025ff03b948.zip
Merge pull request 'error.rs: Corrected error message to say unexpected scope.' (#497) from jpds/garage:authorization-header-unexpected-scope into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/497
Diffstat (limited to 'src/api/k2v/error.rs')
-rw-r--r--src/api/k2v/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/k2v/error.rs b/src/api/k2v/error.rs
index 42491466..4eb017ab 100644
--- a/src/api/k2v/error.rs
+++ b/src/api/k2v/error.rs
@@ -19,7 +19,7 @@ pub enum Error {
// Category: cannot process
/// Authorization Header Malformed
- #[error(display = "Authorization header malformed, expected scope: {}", _0)]
+ #[error(display = "Authorization header malformed, unexpected scope: {}", _0)]
AuthorizationHeaderMalformed(String),
/// The object requested don't exists