Add progress bar on package saving progress

This commit is contained in:
Andrey Smirnov committed 2017-04-26 23:17:03 +03:00
1 parent 4171a73995
commit c40025a335
3 files changed
+28 -14

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ func aptlyMirrorUpdate(cmd *commander.Command, args []string) error {
return fmt.Errorf("unable to update: %s", err)
}
repo.FinalizeDownload(context.CollectionFactory())
repo.FinalizeDownload(context.CollectionFactory(), context.Progress())
err = context.CollectionFactory().RemoteRepoCollection().Update(repo)
if err != nil {
return fmt.Errorf("unable to update: %s", err)