Fix issue with package parsing
This commit is contained in:
parent
392777475a
commit
612646eebc
@ -72,10 +72,12 @@ func ProcessPackages() error {
|
||||
updateBinaryPackageFlags(updatedPackages)
|
||||
|
||||
updatedPackages.ForEach(func(key string, pkg domain.SourcePackage) bool {
|
||||
currentPackages.Set(key, pkg)
|
||||
internalPackages.Set(key, pkg)
|
||||
return true
|
||||
})
|
||||
|
||||
currentPackages = internalPackages
|
||||
|
||||
LastUpdateTime = time.Now()
|
||||
if err := helpers.DBInst.DropPackages(); err != nil {
|
||||
return fmt.Errorf("dropping packages: %w", err)
|
||||
|
Loading…
Reference in New Issue
Block a user