diff --git a/utils/progressbar/filesprogressbar.go b/utils/progressbar/filesprogressbar.go index 290ce317a..5046c7058 100644 --- a/utils/progressbar/filesprogressbar.go +++ b/utils/progressbar/filesprogressbar.go @@ -186,9 +186,9 @@ func (p *filesProgressBarManager) RemoveProgress(id int) { p.bars[id-1].Abort() } -// Increases general progress bar by n -func (p *filesProgressBarManager) IncrementGeneralProgress(n int) { - p.generalProgressBar.IncrBy(n) +// Increases general progress bar by 1 +func (p *filesProgressBarManager) IncrementGeneralProgress() { + p.generalProgressBar.Increment() } // Quits the progress bar while aborting the initial bars.