From 932390bd46d67671b9e737e8ac4456e955cd559f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 29 Oct 2020 14:40:26 +0100 Subject: [PATCH] GC: fix logging leftover bad chunks fixes commit b4fb2623355259528587a0ab87e3970e6bb73b40, which copied over the "Removed bad files:" block, but only adapted the log text, not the actual variable. Signed-off-by: Thomas Lamprecht --- src/backup/datastore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backup/datastore.rs b/src/backup/datastore.rs index c6ee00cb..04121668 100644 --- a/src/backup/datastore.rs +++ b/src/backup/datastore.rs @@ -563,7 +563,7 @@ impl DataStore { } if gc_status.still_bad > 0 { - crate::task_log!(worker, "Bad chunks: {}", gc_status.removed_bad); + crate::task_log!(worker, "Bad chunks: {}", gc_status.still_bad); } crate::task_log!(