]> git.proxmox.com Git - proxmox-backup.git/commitdiff
GC: fix logging leftover bad chunks
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Oct 2020 13:40:26 +0000 (14:40 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Oct 2020 13:40:29 +0000 (14:40 +0100)
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 <t.lamprecht@proxmox.com>
src/backup/datastore.rs

index c6ee00cb0418c3e5c25ee9bde3d818b6322453d4..0412166803b5b5424dcb8c584fb4dd71059bb07d 100644 (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!(