Skip to content

Commit

Permalink
chore(check): global_provider is not needed here (#3828)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfagoagas authored Apr 22, 2024
1 parent fd732db commit ec0be1c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions prowler/lib/check/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from prowler.lib.mutelist.mutelist import mutelist_findings
from prowler.lib.outputs.outputs import report
from prowler.lib.utils.utils import open_file, parse_json_file, print_boxes
from prowler.providers.common.common import get_global_provider
from prowler.providers.common.models import Audit_Metadata


Expand Down Expand Up @@ -557,9 +556,6 @@ def execute_checks(
services_executed = set()
checks_executed = set()

# TODO: why is this here?
global_provider = get_global_provider()

# Initialize the Audit Metadata
# TODO: this should be done in the provider class
global_provider.audit_metadata = Audit_Metadata(
Expand Down

0 comments on commit ec0be1c

Please sign in to comment.