From: Thomas Lamprecht Date: Thu, 29 Oct 2020 13:40:26 +0000 (+0100) Subject: GC: fix logging leftover bad chunks X-Git-Tag: v0.9.3~2 X-Git-Url: https://git.proxmox.com/?p=proxmox-backup.git;a=commitdiff_plain;h=932390bd46d67671b9e737e8ac4456e955cd559f 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 --- 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!(