mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-26 13:47:40 +00:00
Fix broken code due to addition of Progress.
This commit is contained in:
Vendored
+1
-1
@@ -236,7 +236,7 @@ func (repo *RemoteRepo) Download(d utils.Downloader, packageCollection *PackageC
|
||||
|
||||
// Save package meta information to DB
|
||||
err := list.ForEach(func(p *Package) error {
|
||||
d.GetProgress().Add(1)
|
||||
d.GetProgress().AddBar(1)
|
||||
return packageCollection.Update(p)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user