mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-14 09:57:16 +00:00
Major refactoring: access to context happens in methods. #13
This commit is contained in:
1 parent
400d0da7d4
commit
2c3553ef0b
31 files changed
+333
-265
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ func ListPackagesRefList(reflist *debian.PackageRefList) (err error) {
|
||||
}
|
||||
|
||||
err = reflist.ForEach(func(key []byte) error {
|
||||
p, err2 := context.collectionFactory.PackageCollection().ByKey(key)
|
||||
p, err2 := context.CollectionFactory().PackageCollection().ByKey(key)
|
||||
if err2 != nil {
|
||||
return err2
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user