Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
Fix Integration test
  • Loading branch information
JkhatriInfobox authored Sep 17, 2024
1 parent f57bb58 commit 58a0cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def run(self, ib_obj_type, ib_spec):
ref_dict = {obj['ipv4addr']: obj['_ref'] for obj in host_ref['ipv4addrs']}
for proposed in proposed_object['ipv4addrs']:
ipv4addr = proposed['ipv4addr']
if ipv4addr in ref_dict:
if ipv4addr in ref_dict and 'use_for_ea_inheritance' in proposed:
self.update_object(ref_dict[ipv4addr], {'use_for_ea_inheritance': proposed['use_for_ea_inheritance']})
elif state == 'absent':
if ref is not None:
Expand Down

0 comments on commit 58a0cf4

Please sign in to comment.