Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 28, 2023
1 parent b41cf59 commit 8a7b848
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,11 +1029,11 @@ def lambda_handler(
if state == 'running':
try:
if not flags['nocname'] and (all(emr_status.is_cluster, emr_status.is_master) or not emr_status.is_cluster):
LOGGER.debug(f"cname_host_name: {cf_hostname} {lineno()}")
LOGGER.debug(f"cname_domain_suffix: {cf_zonename} {lineno()}")
LOGGER.debug(f"cname_domain_suffix_id: {cf_zonename_id} {lineno()}")
LOGGER.debug(f"cname_target: {final_private_dns_name} {lineno()}")
if emr_status.is_cluster:
LOGGER.debug(f"cname_host_name: {cf_hostname} {lineno()}")
LOGGER.debug(f"cname_domain_suffix: {cf_zonename} {lineno()}")
LOGGER.debug(f"cname_domain_suffix_id: {cf_zonename_id} {lineno()}")
LOGGER.debug(f"cname_target: {final_private_dns_name} {lineno()}")
if emr_status.is_cluster:
LOGGER.info(
f"instance {instance_id}: is_cluster && is_master cluster_id {cluster_id} setting CNAME {cf_hostname} in zone {cf_zonename} {lineno()}")

Expand Down

0 comments on commit 8a7b848

Please sign in to comment.