* [pbs-devel] applied: [PATCH backup] GC: fix logging leftover bad chunks
@ 2020-10-29 13:44 Thomas Lamprecht
0 siblings, 0 replies; only message in thread
From: Thomas Lamprecht @ 2020-10-29 13:44 UTC (permalink / raw)
To: pbs-devel
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 | 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!(
--
2.27.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-29 13:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 13:44 [pbs-devel] applied: [PATCH backup] GC: fix logging leftover bad chunks Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox