Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 25, 2023
1 parent f15f147 commit c440094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ def new_get_resource_record(oclient, instance_id, zone_id, host_name, hosted_zon
# check if the return value matches the record, if not ignore
# if the record isn't there, it returns the list_resource_record_sets returns the next record
# if rr_name == (host_name + hosted_zone_name):
if rr_name == fqdn
if rr_name == fqdn:
value = rr_set['ResourceRecords'][0]['Value']
LOGGER.debug(
f"list_resource_record_sets returned value {value}: {lineno()}")
Expand Down

0 comments on commit c440094

Please sign in to comment.