Skip to content

Commit

Permalink
RHINENG-9705: remove name and evra from namedPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Apr 26, 2024
1 parent 15267e5 commit 51311b6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions evaluator/evaluate_packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,7 @@ func packagesFromUpdateList(system *models.SystemPlatform, vmaasData *vmaas.Upda
installableID, applicableID := latestPackagesFromUpdatesList(availableUpdates)
packages[nevra] = namedPackage{
NameID: pkgMeta.NameID,
Name: pkgMeta.Name,
PackageID: pkgMeta.ID,
EVRA: pkgMeta.Evra,
Change: Add,
InstallableID: installableID,
ApplicableID: applicableID,
Expand Down Expand Up @@ -223,7 +221,6 @@ func loadSystemNEVRAsFromDB(tx *gorm.DB, system *models.SystemPlatform, packages
packages[nevra] = namedPackage{
NameID: columns.NameID,
PackageID: columns.PackageID,
EVRA: columns.EVRA,
Change: Remove,
ApplicableID: columns.ApplicableID,
InstallableID: columns.InstallableID,
Expand Down Expand Up @@ -361,9 +358,7 @@ const (

type namedPackage struct {
NameID int64
Name string
PackageID int64
EVRA string
InstallableID *int64
ApplicableID *int64
Change ChangeType
Expand Down

0 comments on commit 51311b6

Please sign in to comment.