Skip to content

Commit

Permalink
chore: delete unnecessary nodes deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
1101-1 committed Oct 31, 2024
1 parent 1017791 commit 28e6e2f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/aws/fix_plugin_aws/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 28e6e2f

Please sign in to comment.