Eliminate data races by using API without Progress. #116

This commit is contained in:
Andrey Smirnov committed 2015-02-16 00:32:45 +03:00
1 parent f153c7c3ea
commit 76ee53e9f8
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ func apiVersion(c *gin.Context) {
func showPackages(c *gin.Context, reflist *deb.PackageRefList) {
result := []*deb.Package{}
list, err := deb.NewPackageListFromRefList(reflist, context.CollectionFactory().PackageCollection(), context.Progress())
list, err := deb.NewPackageListFromRefList(reflist, context.CollectionFactory().PackageCollection(), nil)
if err != nil {
c.Fail(404, err)
return