Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 27, 2023
1 parent 45b32cc commit 5daca83
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 @@ -746,7 +746,7 @@ def lambda_handler(
f"5.1 instance: {instance_id}, PTR using tag_option.ptrname hostname {tag_data['option_ptrname'].hostname} and tag_option.ptrname zone {tag_data['option_ptrname'].zonename}")
p_hostname = tag_data['option_ptrname'].hostname
p_zonename = tag_data['option_ptrname'].zonename
elif tag_data['option_ptrname'].exists:
elif tag_data['option_ptrname'].defined:
LOGGER.info(
f"5.2 instance: {instance_id}, PTR using name not-valid, forcing tag_option.ptrname hostname {tag_data['option_ptrname'].hostname} and tag_option.ptrname zone {tag_data['option_ptrname'].zonename}")
p_hostname = tag_data['option_ptrname'].hostname
Expand Down

0 comments on commit 5daca83

Please sign in to comment.