Skip to content

Commit

Permalink
Added bug fix to allow updation of canonical name of CNAME Record (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
anagha-infoblox authored Nov 25, 2021
1 parent ed92fc6 commit 64eabce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/module_utils/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,8 @@ def get_object_ref(self, module, ib_obj_type, obj_filter, ib_spec):
test_obj_filter = dict([['mac', obj_filter['mac']]])
elif (ib_obj_type == NIOS_IPV6_FIXED_ADDRESS and 'duid' in obj_filter):
test_obj_filter = dict([['duid', obj_filter['duid']]])
elif (ib_obj_type == NIOS_CNAME_RECORD):
test_obj_filter = dict([('name', obj_filter['name']), ('view', obj_filter['view'])])
elif (ib_obj_type == NIOS_A_RECORD):
# resolves issue where a_record with uppercase name was returning null and was failing
test_obj_filter = obj_filter
Expand Down

0 comments on commit 64eabce

Please sign in to comment.