Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 25, 2023
1 parent 86dac12 commit 8b298f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def lambda_handler(
vpc_id = instance['Reservations'][0]['Instances'][0]['VpcId']

# Are DNS Hostnames and DNS Support enabled?
fif is_dns_hostnames_enabled(compute, instance_id, vpc_id):
if is_dns_hostnames_enabled(compute, instance_id, vpc_id):
LOGGER.debug("DNS hostnames enabled for %s", str(vpc_id) + lineno())
else:
LOGGER.error(
Expand Down

0 comments on commit 8b298f7

Please sign in to comment.