Skip to content

Commit

Permalink
Blacked and isorted
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCoderCarl committed Apr 23, 2024
1 parent c120a06 commit 1180f3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def icmp_requests(hosts: list):
)
else:
logging.info(f"{host} is alive")
else: # TODO add map and send ip with associated resource name
else: # TODO add map and send ip with associated resource name
logging.error(
f"Host: {ping_result.address} | Attempt successfully failed !"
)
Expand All @@ -91,7 +91,7 @@ def http_requests(hosts: list):
logging.info(f"Going to request {host}")
response = requests.get(f"http://{host}", timeout=5)
if VERBOSE:
logging.info(response.text) # TODO parse json
logging.info(response.text) # TODO parse json
logging.info(response.headers)

if response.status_code != 200:
Expand Down

0 comments on commit 1180f3f

Please sign in to comment.