Skip to content

Commit

Permalink
Fix undefined method ceil
Browse files Browse the repository at this point in the history
  • Loading branch information
Ukhanskyi committed Jul 3, 2024
1 parent 1183c99 commit 03e1068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/connectors/aqua/aqua.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def run(opts)
os = "#{vuln_obj['os']}-#{vuln_obj['os_version']}" if vuln_obj.key?("os_version")
arch = resource_obj.fetch("arch") if resource_obj.key?("arch")
ack_date = vuln_obj["acknowledged_date"]
aqua_score = (vuln_obj["aqua_score"]).ceil
aqua_score = (vuln_obj["aqua_score"])&.ceil
print_debug "Vuln name: #{vuln_name}"

vuln_details = {
Expand Down

0 comments on commit 03e1068

Please sign in to comment.