garbage_collect: call fail_on_abort to abort GV when requested.

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

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))