[pbs-devel] applied: [RFC proxmox-backup 2/3] progress: add current group to output

Dietmar Maurer dietmar at proxmox.com
Fri May 7 12:15:01 CEST 2021


applied

On 5/7/21 10:03 AM, Fabian Grünbichler wrote:
> 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,
>               )
>           }
>       }





More information about the pbs-devel mailing list