small bug
This commit is contained in:
parent
335831687c
commit
1572405c05
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ rpm_auditer = RhelRpmToCve.new(filepath: data_file)
|
|||
rhel_api_client = RhelSecurityApiClient.new
|
||||
|
||||
if xmlpkg_name
|
||||
json = rpm_auditer.cves_per_pkg_name(pkg_name).to_json
|
||||
json = rpm_auditer.cves_per_pkg_name(xmlpkg_name).to_json
|
||||
puts JSON.pretty_generate(JSON.parse(json))
|
||||
elsif pkg_name
|
||||
params = { params: { package: pkg_name } }
|
||||
|
|
Loading…
Add table
Reference in a new issue