Fix linter errors (except for tests)
This commit is contained in:
parent
a8cda0119c
commit
c0514dd8ba
36 changed files with 61 additions and 56 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue