aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3_router.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-10 14:10:04 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-10 14:10:04 +0100
commit3586c7257cf9abe095f934227794627f8cdf7182 (patch)
treedb12d06286d90bba7204cc5a13b63789036be275 /src/api/s3_router.rs
parent17ea28a4384aa04eee73fd92ed020e102f40f588 (diff)
downloadgarage-3586c7257cf9abe095f934227794627f8cdf7182.tar.gz
garage-3586c7257cf9abe095f934227794627f8cdf7182.zip
Clarify error message
Diffstat (limited to 'src/api/s3_router.rs')
-rw-r--r--src/api/s3_router.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/api/s3_router.rs b/src/api/s3_router.rs
index e0264333..234f77f0 100644
--- a/src/api/s3_router.rs
+++ b/src/api/s3_router.rs
@@ -1015,14 +1015,14 @@ mod tests {
)*
}};
- (@actual_method HEAD) => {{ "HEAD" }};
- (@actual_method GET) => {{ "GET" }};
- (@actual_method OWNER_GET) => {{ "GET" }};
- (@actual_method PUT) => {{ "PUT" }};
- (@actual_method OWNER_PUT) => {{ "PUT" }};
- (@actual_method POST) => {{ "POST" }};
- (@actual_method DELETE) => {{ "DELETE" }};
- (@actual_method OWNER_DELETE) => {{ "DELETE" }};
+ (@actual_method HEAD) => {{ "HEAD" }};
+ (@actual_method GET) => {{ "GET" }};
+ (@actual_method OWNER_GET) => {{ "GET" }};
+ (@actual_method PUT) => {{ "PUT" }};
+ (@actual_method OWNER_PUT) => {{ "PUT" }};
+ (@actual_method POST) => {{ "POST" }};
+ (@actual_method DELETE) => {{ "DELETE" }};
+ (@actual_method OWNER_DELETE) => {{ "DELETE" }};
(@auth HEAD $uri:expr) => {{
assert_eq!(parse("HEAD", concat!("/my_bucket", $uri), None, None).authorization_type(),