tests/worker-task-abort.rs: use proxmox::tools::try_block
This commit is contained in:
parent
f69adc81a6
commit
17ff2cb0e5
@ -8,10 +8,11 @@ extern crate nix;
|
||||
|
||||
use tokio::prelude::future::lazy;
|
||||
|
||||
use proxmox::tools::try_block;
|
||||
|
||||
use proxmox_backup::server;
|
||||
use proxmox_backup::tools;
|
||||
|
||||
|
||||
fn garbage_collection(worker: &server::WorkerTask) -> Result<(), Error> {
|
||||
|
||||
worker.log("start garbage collection");
|
||||
|
Loading…
Reference in New Issue
Block a user