schedule_datastore_sync_jobs: remove unneccessary clone()
This commit is contained in:
parent
385cf2bd9d
commit
bfea476be2
@ -579,9 +579,9 @@ async fn schedule_datastore_sync_jobs() {
|
|||||||
Err(_) => continue, // could not get lock
|
Err(_) => continue, // could not get lock
|
||||||
};
|
};
|
||||||
|
|
||||||
let userid = Userid::backup_userid().clone();
|
let userid = Userid::backup_userid();
|
||||||
|
|
||||||
if let Err(err) = do_sync_job(job, job_config, &userid, Some(event_str)) {
|
if let Err(err) = do_sync_job(job, job_config, userid, Some(event_str)) {
|
||||||
eprintln!("unable to start datastore sync job {} - {}", &job_id, err);
|
eprintln!("unable to start datastore sync job {} - {}", &job_id, err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user