[pbs-devel] [RFC proxmox-backup 2/3] progress: add current group to output
Fabian Grünbichler
f.gruenbichler at proxmox.com
Fri May 7 10:03:09 CEST 2021
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
src/backup/store_progress.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backup/store_progress.rs b/src/backup/store_progress.rs
index 115c14c2..e355c9bf 100644
--- a/src/backup/store_progress.rs
+++ b/src/backup/store_progress.rs
@@ -66,12 +66,13 @@ impl std::fmt::Display for StoreProgress {
} else {
write!(
f,
- "{:.2}% ({} of {} groups, {} of {} group snapshots)",
+ "{:.2}% ({} of {} groups, {} of {} group #{}'s snapshots)",
self.percentage() * 100.0,
self.done_groups,
self.total_groups,
self.done_snapshots,
self.group_snapshots,
+ current_group,
)
}
}
--
2.20.1
More information about the pbs-devel
mailing list