From 17ff2cb0e51b1d2ecbe1cc611b75fb24107a0d37 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 5 Aug 2019 10:04:12 +0200 Subject: [PATCH] tests/worker-task-abort.rs: use proxmox::tools::try_block --- tests/worker-task-abort.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/worker-task-abort.rs b/tests/worker-task-abort.rs index 0bec0214..0aa155fb 100644 --- a/tests/worker-task-abort.rs +++ b/tests/worker-task-abort.rs @@ -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");