]> git.proxmox.com Git - proxmox-backup.git/commitdiff
tests/worker-task-abort.rs: use proxmox::tools::try_block
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 5 Aug 2019 08:04:12 +0000 (10:04 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 5 Aug 2019 08:04:12 +0000 (10:04 +0200)
tests/worker-task-abort.rs

index 0bec0214ae4237734eb557f25c726551198feec6..0aa155fb7c0013b3be75cff40f38092c57788d1f 100644 (file)
@@ -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");