Fixes #822
This commit is contained in:
parent
1ff0704c0c
commit
3b8147af30
1 changed files with 2 additions and 2 deletions
|
@ -295,7 +295,7 @@ def main():
|
||||||
overwrite = dict(required=False, type='bool'),
|
overwrite = dict(required=False, type='bool'),
|
||||||
retry_interval = dict(required=False, default=500),
|
retry_interval = dict(required=False, default=500),
|
||||||
private_zone = dict(required=False, type='bool', default=False),
|
private_zone = dict(required=False, type='bool', default=False),
|
||||||
identifier = dict(required=False),
|
identifier = dict(required=False, default=None),
|
||||||
weight = dict(required=False, type='int'),
|
weight = dict(required=False, type='int'),
|
||||||
region = dict(required=False),
|
region = dict(required=False),
|
||||||
health_check = dict(required=False),
|
health_check = dict(required=False),
|
||||||
|
@ -391,7 +391,7 @@ def main():
|
||||||
#Need to save this changes in rset, because of comparing rset.to_xml() == wanted_rset.to_xml() in next block
|
#Need to save this changes in rset, because of comparing rset.to_xml() == wanted_rset.to_xml() in next block
|
||||||
rset.name = decoded_name
|
rset.name = decoded_name
|
||||||
|
|
||||||
if rset.type == type_in and decoded_name.lower() == record_in.lower() and rset.identifier == str(identifier_in):
|
if rset.type == type_in and decoded_name.lower() == record_in.lower() and str(rset.identifier) == str(identifier_in):
|
||||||
found_record = True
|
found_record = True
|
||||||
record['zone'] = zone_in
|
record['zone'] = zone_in
|
||||||
record['type'] = rset.type
|
record['type'] = rset.type
|
||||||
|
|
Loading…
Reference in a new issue