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 ef7c995 commit 2c80bcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,10 +1029,10 @@ 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()}")
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 2c80bcf

Please sign in to comment.