mirror of
https://github.com/restic/restic.git
synced 2025-08-14 04:27:42 +00:00
Fix linter errors (except for tests)
This commit is contained in:
@@ -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