mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
ui: remove unused Summary field
This commit is contained in:
parent
3024239e40
commit
77b129ec74
1 changed files with 0 additions and 4 deletions
|
@ -61,7 +61,6 @@ type Summary struct {
|
||||||
Unchanged uint
|
Unchanged uint
|
||||||
}
|
}
|
||||||
ProcessedBytes uint64
|
ProcessedBytes uint64
|
||||||
TotalErrors uint
|
|
||||||
archiver.ItemStats
|
archiver.ItemStats
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,9 +140,6 @@ func (p *Progress) Run(ctx context.Context) error {
|
||||||
started = true
|
started = true
|
||||||
case <-p.errCh:
|
case <-p.errCh:
|
||||||
errors++
|
errors++
|
||||||
p.summary.Lock()
|
|
||||||
p.summary.TotalErrors = errors
|
|
||||||
p.summary.Unlock()
|
|
||||||
started = true
|
started = true
|
||||||
case m := <-p.workerCh:
|
case m := <-p.workerCh:
|
||||||
if m.done {
|
if m.done {
|
||||||
|
|
Loading…
Reference in a new issue