Skip to content

Commit

Permalink
Cleanup vendor name also in static query code path.
Browse files Browse the repository at this point in the history
Signed-off-by: Vasil Sirakov <[email protected]>
  • Loading branch information
VasilSirakov committed Oct 29, 2024
1 parent a36a9d6 commit 7038b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/os/resources/packages/rpm_packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (rpm *RpmPkgManager) staticList() ([]Package, error) {
version = version + "-" + pkg.Release
}

rpmPkg := newRpmPackage(rpm.platform, pkg.Name, version, pkg.Arch, epoch, pkg.Vendor, pkg.Summary)
rpmPkg := newRpmPackage(rpm.platform, pkg.Name, version, pkg.Arch, epoch, cleanupVendorName(pkg.Vendor), pkg.Summary)

// determine all files attached
records := []FileRecord{}
Expand Down

0 comments on commit 7038b1d

Please sign in to comment.