mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 02:48:55 +00:00
Merge pull request #4167 from aneesh-n/progress-percent-eta-fix
ui/backup: Fix percent and eta in backup progress
This commit is contained in:
commit
12f167ee79
6
changelog/unreleased/pull-4167
Normal file
6
changelog/unreleased/pull-4167
Normal file
@ -0,0 +1,6 @@
|
||||
Bugfix: ETA was missing from `backup` progress bar
|
||||
|
||||
A regression in restic 0.15.0 caused the ETA to be missing from the progress
|
||||
bar displayed by the `backup` command. This has been fixed.
|
||||
|
||||
https://github.com/restic/restic/pull/4167
|
@ -199,6 +199,7 @@ func (p *Progress) ReportTotal(item string, s archiver.ScanStats) {
|
||||
p.scanStarted = true
|
||||
|
||||
if item == "" {
|
||||
p.scanFinished = true
|
||||
p.printer.ReportTotal(item, p.start, s)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user