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 e778f86 commit c7691c7
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.0b80'
VERSION = '1.2.0b81'

# Read Env variables
DEBUG_LOG_LEVEL = os.environ.get('DebugLogLevel', 'INFO')
Expand Down Expand Up @@ -3216,7 +3216,7 @@ def parse_hostname_to_components(name):
domain = '.'.join(names[i:]) + '.'
if phz_collection_by_vpc.get(domain):
return (True, host, domain)
host = name[0]
host = names[0]
domain = '.'.join(names[1:]) + '.'
LOGGER.info(
f"No PHZ found for any domain components of {name} associated with this vpc, returing host {host} domain {domain}: {lineno()}")
Expand Down

0 comments on commit c7691c7

Please sign in to comment.