From 1cd951c93e07e9fdef6553cd4c0d4a9891b1d109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 30 Oct 2020 12:49:43 +0100 Subject: [PATCH] proxy: fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- src/bin/proxmox-backup-proxy.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/proxmox-backup-proxy.rs b/src/bin/proxmox-backup-proxy.rs index 329d7f57..39254504 100644 --- a/src/bin/proxmox-backup-proxy.rs +++ b/src/bin/proxmox-backup-proxy.rs @@ -30,7 +30,7 @@ use proxmox_backup::{ }; -use proxmox_backup::api2::types::{Authid, Userid}; +use proxmox_backup::api2::types::Authid; use proxmox_backup::configdir; use proxmox_backup::buildcfg; use proxmox_backup::server; @@ -322,7 +322,7 @@ async fn schedule_datastore_garbage_collection() { if next > now { continue; } - let mut job = match Job::new(worker_type, &store) { + let job = match Job::new(worker_type, &store) { Ok(job) => job, Err(_) => continue, // could not get lock };