From 03e106835049f1efc2ae0875858c3e79550f4f89 Mon Sep 17 00:00:00 2001 From: ukhanskyi Date: Thu, 4 Jul 2024 00:27:06 +0300 Subject: [PATCH] Fix undefined method ceil --- tasks/connectors/aqua/aqua.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/connectors/aqua/aqua.rb b/tasks/connectors/aqua/aqua.rb index 9d39f92b..83342bc6 100644 --- a/tasks/connectors/aqua/aqua.rb +++ b/tasks/connectors/aqua/aqua.rb @@ -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 = {