Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 24, 2023
1 parent 1aa7793 commit 62b3f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ def lambda_handler(
heritage_value
)
append_msg = f'TXT record in zone id: {reverse_lookup_zone_id} for hostname {final_private_hostname} ' + \
f'zone {final_hosted_zone_name} to value {heritage_value)}'
f'zone {final_hosted_zone_name} to value {heritage_value}'

if create_response == 'success':
LOGGER.info("instance: %s, Created %s",
Expand Down Expand Up @@ -819,7 +819,7 @@ def lambda_handler(
create_fqdn(final_private_hostname, final_hosted_zone_name),
)
append_msg = f'PTR record in zone id: {reverse_lookup_zone_id} for hostname {tag_data['ptr_entry'].hostname} ' + \
f'zone {tag_data['ptr_entry'].zonename} to value {final_private_dns_name)}'
f'zone {tag_data['ptr_entry'].zonename} to value {final_private_dns_name}'
if create_response == 'success':
LOGGER.info("instance: %s, Created %s",
instance_id, append_msg + lineno())
Expand Down

0 comments on commit 62b3f95

Please sign in to comment.