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 03fcbd3 commit 259f19c
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 @@ -73,7 +73,7 @@
LOGGER = logging.getLogger()
account_id = None
region = None
VERSION = '1.2.0b74'
VERSION = '1.2.0b75'

# Read Env variables
DEBUG_LOG_LEVEL = os.environ.get('DebugLogLevel', 'INFO')
Expand Down Expand Up @@ -713,7 +713,7 @@ def lambda_handler(
f"4.1 instance: {instance_id}, CNAME using tag_option.cname hostname {tag_data['option_cname'].hostname} and tag_option.cname {tag_data['option_cname'].zonename}")
cf_hostname = tag_data['option_cname'].hostname
cf_zonename = tag_data['option_cname'].zonename
elif not tag_data['option_cname'].valid and tag_data['option_name'].hostname and f_zonename:
elif not tag_data['option_cname'].valid and tag_data['option_cname'].hostname and f_zonename:
LOGGER.info(
f"4.2 instance: {instance_id}, CNAME using tag_option.cname hostname {tag_data['option_cname'].hostname} and current zone {f_zonename}")
cf_hostname = tag_data['option_cname'].hostname
Expand Down

0 comments on commit 259f19c

Please sign in to comment.