mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Fix junos_lldp integration test failure (#27936)
This commit is contained in:
@@ -181,8 +181,8 @@ def main():
|
||||
if state in ('enabled', 'disabled'):
|
||||
item['state'] = 'present'
|
||||
|
||||
want = map_params_to_obj(module, param_to_xpath_map)
|
||||
ele = map_obj_to_ele(module, want, top)
|
||||
want = map_params_to_obj(module, param_to_xpath_map, param=item)
|
||||
ele = map_obj_to_ele(module, want, top, param=item)
|
||||
|
||||
with locked_config(module):
|
||||
diff = load_config(module, tostring(ele), warnings, action='replace')
|
||||
|
||||
@@ -149,8 +149,8 @@ def main():
|
||||
if state in ('enabled', 'disabled'):
|
||||
item['state'] = 'present'
|
||||
|
||||
want = map_params_to_obj(module, param_to_xpath_map)
|
||||
ele = map_obj_to_ele(module, want, top)
|
||||
want = map_params_to_obj(module, param_to_xpath_map, param=item)
|
||||
ele = map_obj_to_ele(module, want, top, param=item)
|
||||
|
||||
with locked_config(module):
|
||||
diff = load_config(module, tostring(ele), warnings, action='replace')
|
||||
|
||||
Reference in New Issue
Block a user