diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-21 23:10:13 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-03-14 10:53:00 +0100 |
commit | f0d0cd9a20979f59db246e6a545ddc1b7bbb20b3 (patch) | |
tree | 434ab758dd73b0ef78a511cef39df53dc580b3f1 /src/api/api_server.rs | |
parent | 55d44715998d01563fe830d1dbc35745bc9427bf (diff) | |
download | garage-f0d0cd9a20979f59db246e6a545ddc1b7bbb20b3.tar.gz garage-f0d0cd9a20979f59db246e6a545ddc1b7bbb20b3.zip |
Remove strum crate dependency; add protobuf nix dependency
Diffstat (limited to 'src/api/api_server.rs')
-rw-r--r-- | src/api/api_server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/api_server.rs b/src/api/api_server.rs index 00d582d1..1bab3aaa 100644 --- a/src/api/api_server.rs +++ b/src/api/api_server.rs @@ -135,7 +135,7 @@ async fn handler_inner(garage: Arc<Garage>, req: Request<Body>) -> Result<Respon Context::current() .span() - .update_name::<String>(format!("S3 API {}", endpoint)); + .update_name::<String>(format!("S3 API {}", endpoint.name())); // Some endpoints are processed early, before we even check for an API key if let Endpoint::PostObject = endpoint { |