diff --git a/code/ddns-lambda.py b/code/ddns-lambda.py index 2920139..bcf815b 100755 --- a/code/ddns-lambda.py +++ b/code/ddns-lambda.py @@ -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()}")