From 1dda0fc8b0c5d81ffcee4b3d4a0cf30069e6a608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Reigota?= Date: Fri, 13 Aug 2021 19:22:19 +0100 Subject: [PATCH] fix(progress bar): Removed Counters from the progress bar (#3989) (#4046) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Reigota Co-authored-by: Rogério Peixoto --- pkg/progress/counter/counter_progress.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/progress/counter/counter_progress.go b/pkg/progress/counter/counter_progress.go index 496a3cb660b..d8c8d2a84c8 100644 --- a/pkg/progress/counter/counter_progress.go +++ b/pkg/progress/counter/counter_progress.go @@ -29,6 +29,7 @@ func NewProgressBar(label string, total int64, progress chan int64, wg *sync.Wai newPb := pb.New64(total) newPb.SetMaxWidth(barWidth) newPb.Set("prefix", label) + newPb.SetTemplateString(`{{string . "prefix"}}{{bar . }} {{percent . }}`) if silent { newPb.SetWriter(io.Discard) }