mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-17 08:07:50 +00:00
src/server/rest.rs: avoid compiler warning
This commit is contained in:
parent
991cc982c7
commit
c6f8eaf481
@ -493,7 +493,7 @@ pub async fn handle_request(api: Arc<ApiConfig>, req: Request<Body>) -> Result<R
|
||||
let (parts, body) = req.into_parts();
|
||||
|
||||
let method = parts.method.clone();
|
||||
let (path, components) = tools::normalize_uri_path(parts.uri.path())?;
|
||||
let (_path, components) = tools::normalize_uri_path(parts.uri.path())?;
|
||||
|
||||
let comp_len = components.len();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user