From 28e6e2f21307808979e10e52d4e8140344d1459b Mon Sep 17 00:00:00 2001 From: Kirill Date: Tue, 22 Oct 2024 11:53:48 +0000 Subject: [PATCH] chore: delete unnecessary nodes deletion --- plugins/aws/fix_plugin_aws/collector.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/aws/fix_plugin_aws/collector.py b/plugins/aws/fix_plugin_aws/collector.py index d1de013277..01c27acd92 100644 --- a/plugins/aws/fix_plugin_aws/collector.py +++ b/plugins/aws/fix_plugin_aws/collector.py @@ -381,7 +381,6 @@ def rm_leaf_nodes(cls: Any, ignore_kinds: Optional[Type[Any]] = None, check_pred self.graph.remove_node(node) rm_leaf_nodes(bedrock.AwsBedrockFoundationModel, check_pred=False) - rm_leaf_nodes(guardduty.AwsGuardDutyFinding, check_pred=False) # remove regions that are not in use self.graph.remove_recursively(builder.nodes(AwsRegion, lambda r: r.compute_region_in_use(builder) is False))