garbage_collect: call fail_on_abort to abort GV when requested.

This commit is contained in:
Dietmar Maurer committed 2020-05-05 09:06:34 +02:00
1 parent 74f7240b8d
commit 99641a6bbb
4 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -630,7 +630,7 @@ fn start_garbage_collection(
"garbage_collection", Some(store.clone()), "root@pam", to_stdout, move |worker|
{
worker.log(format!("starting garbage collection on store {}", store));
datastore.garbage_collection(worker)
datastore.garbage_collection(&worker)
})?;
Ok(json!(upid_str))