cleanup: replace id from do_sync_job with info from job
we already have it inside the job itself Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
77bd2a469c
commit
713b66b6ed
@ -548,7 +548,7 @@ async fn schedule_datastore_sync_jobs() {
|
||||
|
||||
let userid = Userid::backup_userid().clone();
|
||||
|
||||
if let Err(err) = do_sync_job(&job_id, job_config, &userid, Some(event_str), job) {
|
||||
if let Err(err) = do_sync_job(job, job_config, &userid, Some(event_str)) {
|
||||
eprintln!("unable to start datastore sync job {} - {}", &job_id, err);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user