From dc58194ebe7608f7cc79fb2f7a952c64026b0c83 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 29 May 2020 07:50:59 +0200 Subject: [PATCH] src/bin/proxmox-backup-proxy.rs: use correct id to lookup sync jobs --- src/bin/proxmox-backup-proxy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/proxmox-backup-proxy.rs b/src/bin/proxmox-backup-proxy.rs index 2bef6ecc..790687f3 100644 --- a/src/bin/proxmox-backup-proxy.rs +++ b/src/bin/proxmox-backup-proxy.rs @@ -511,7 +511,7 @@ async fn schedule_datastore_sync_jobs() { let worker_type = "sync"; - let last = match lookup_last_worker(worker_type, &job_config.store) { + let last = match lookup_last_worker(worker_type, &job_id) { Ok(Some(upid)) => upid.starttime, Ok(None) => 0, Err(err) => {