2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00

ui: remove unused Summary field

This commit is contained in:
Michael Eischer 2021-08-18 01:59:36 +02:00
parent 3024239e40
commit 77b129ec74

View File

@ -61,7 +61,6 @@ type Summary struct {
Unchanged uint
}
ProcessedBytes uint64
TotalErrors uint
archiver.ItemStats
}
@ -141,9 +140,6 @@ func (p *Progress) Run(ctx context.Context) error {
started = true
case <-p.errCh:
errors++
p.summary.Lock()
p.summary.TotalErrors = errors
p.summary.Unlock()
started = true
case m := <-p.workerCh:
if m.done {