GC: fix logging leftover bad chunks

fixes commit b4fb262335, which copied
over the "Removed bad files:" block, but only adapted the log text,
not the actual variable.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-29 14:40:26 +01:00
parent 6b7688aa98
commit 932390bd46
1 changed files with 1 additions and 1 deletions

View File

@ -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!(