src/bin/proxmox-backup-proxy.rs: use correct id to lookup sync jobs

This commit is contained in:
Dietmar Maurer 2020-05-29 07:50:59 +02:00
parent c6887a8a4d
commit dc58194ebe
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {