src/server/worker_task.rs: Avoid using pbs-api-type::Authid

Because we want to move worker_task.rs into proxmox-rest-server crate.
This commit is contained in:
Dietmar Maurer committed 2021-09-23 11:59:25 +02:00
1 parent 4d4f94dedf
commit 049a22a3a3
25 files changed
+55 -51

No files matched your search

+1 -1
View File
@@ -745,7 +745,7 @@ async fn schedule_task_log_rotate() {
if let Err(err) = WorkerTask::new_thread(
worker_type,
None,
Authid::root_auth_id().clone(),
Authid::root_auth_id().to_string(),
false,
move |worker| {
job.start(&worker.upid().to_string())?;