Skip to content

Commit

Permalink
Use nevra when reporting packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimShtein authored and chris1984 committed Aug 30, 2023
1 parent 001be59 commit 46c31ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/foreman_inventory_upload/generators/slice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def report_system_profile(host, host_ips_cache)
@stream.array_field('installed_packages') do
first = true
host.installed_packages.each do |package|
@stream.raw("#{first ? '' : ', '}#{@stream.stringify_value(package.nvra)}")
@stream.raw("#{first ? '' : ', '}#{@stream.stringify_value(package.nvrea)}")
first = false
end
end
Expand Down

0 comments on commit 46c31ef

Please sign in to comment.