mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Package index may not be indexed when schanning.
This commit is contained in:
+1
-1
@@ -335,7 +335,7 @@ func (l *PackageList) PrepareIndex() {
|
||||
// Scan searches package index using full scan
|
||||
func (l *PackageList) Scan(q PackageQuery) (result *PackageList) {
|
||||
result = NewPackageList()
|
||||
for _, pkg := range l.packagesIndex {
|
||||
for _, pkg := range l.packages {
|
||||
if q.Matches(pkg) {
|
||||
result.Add(pkg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user