mirror of
https://github.com/restic/restic.git
synced 2026-10-19 15:58:12 +00:00
Fix linter errors (except for tests)
This commit is contained in:
1 parent
a8cda0119c
commit
c0514dd8ba
36 files changed
+61
-56
No files matched your search
@@ -63,7 +63,7 @@ func NewProgress(printer ProgressPrinter, interval time.Duration) *Progress {
|
||||
printer: printer,
|
||||
estimator: *newRateEstimator(time.Now()),
|
||||
}
|
||||
p.Updater = *progress.NewUpdater(interval, func(runtime time.Duration, final bool) {
|
||||
p.Updater = *progress.NewUpdater(interval, func(_ time.Duration, final bool) {
|
||||
if final {
|
||||
p.printer.Reset()
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user