From 4a25a5f5316fa4584a16102f2b130ce7e0da7e19 Mon Sep 17 00:00:00 2001 From: Ruriko Kudo Date: Wed, 11 Oct 2023 16:25:02 +0900 Subject: [PATCH] enable download only option Signed-off-by: Ruriko Kudo --- ansible_risk_insight/scanner.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ansible_risk_insight/scanner.py b/ansible_risk_insight/scanner.py index 376102b1..4a9eee09 100644 --- a/ansible_risk_insight/scanner.py +++ b/ansible_risk_insight/scanner.py @@ -908,8 +908,6 @@ def evaluate( logger.debug(f"finished preparing {scandata.type} {scandata.name}") if download_only: - scandata.set_metadata_findings() - self.register_findings_to_ram(scandata.findings) return None self.record_end(time_records, "metadata_load")