We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3b0806 commit 1c9c153Copy full SHA for 1c9c153
pkg/repository/mirror.go
@@ -335,6 +335,7 @@ L:
335
}
336
progress.SetCurrent(resp.BytesComplete())
337
case <-resp.Done:
338
+ progress.SetCurrent(resp.BytesComplete())
339
progress.Finish()
340
break L
341
pkg/repository/progress.go
@@ -52,6 +52,5 @@ func (p *ProgressBar) SetCurrent(size int64) {
52
53
// Finish implement the DownloadProgress interface
54
func (p *ProgressBar) Finish() {
55
- p.bar.SetCurrent(p.size)
56
p.bar.Finish()
57
0 commit comments