mirror of
https://github.com/restic/restic.git
synced 2026-11-19 12:15:22 +00:00
Renames to fix clashes with reserved words.
This commit is contained in:
1 parent
3788605127
commit
f238f81ba6
6 files changed
+25
-25
No files matched your search
@@ -29,8 +29,8 @@ func NewCounter(interval time.Duration, total uint64, report Func) *Counter {
|
||||
max: total,
|
||||
}
|
||||
c.Updater = *NewUpdater(interval, func(runtime time.Duration, final bool) {
|
||||
v, max := c.Get()
|
||||
report(v, max, runtime, final)
|
||||
v, maxV := c.Get()
|
||||
report(v, maxV, runtime, final)
|
||||
})
|
||||
return c
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user