fix(shodan): delete unnecessary error in logger.error (#3454)

This commit is contained in:
Pedro Martín
2024-02-27 14:13:06 +01:00
committed by GitHub
parent 73733f674c
commit f142b9adbb
2 changed files with 2 additions and 2 deletions

View File

@@ -37,6 +37,6 @@ class ec2_elastic_ip_shodan(Check):
else: else:
logger.error( logger.error(
"ERROR: No Shodan API Key -- Please input a Shodan API Key with -N/--shodan or in config.yaml" "No Shodan API Key -- Please input a Shodan API Key with -N/--shodan or in config.yaml"
) )
return findings return findings

View File

@@ -35,6 +35,6 @@ class network_public_ip_shodan(Check):
else: else:
logger.error( logger.error(
"ERROR: No Shodan API Key -- Please input a Shodan API Key with -N/--shodan or in config.yaml" "No Shodan API Key -- Please input a Shodan API Key with -N/--shodan or in config.yaml"
) )
return findings return findings