From 2c80bcf99eb06f2c79a05b8de1eaaa8b3ba906ff Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 27 Apr 2023 20:29:09 -0400 Subject: [PATCH] fix --- code/ddns-lambda.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()}")