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
2021-09-21 12:14:19 +02:00
parent 4d4f94dedf
commit 049a22a3a3
25 changed files with 55 additions and 51 deletions

View File

@ -119,9 +119,9 @@ pub fn create_datastore(
WorkerTask::new_thread(
"create-datastore",
Some(config.name.to_string()),
auth_id,
auth_id.to_string(),
to_stdout,
move |worker| do_create_datastore(lock, section_config, config, Some(&worker)),
move |worker| do_create_datastore(lock, section_config, config, Some(&worker)),
)
}