mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove unused method from nxos_ospf (#24820)
This commit is contained in:
parent
998305a493
commit
21e28a431b
1 changed files with 0 additions and 9 deletions
|
@ -100,15 +100,6 @@ def get_existing(module):
|
|||
return existing
|
||||
|
||||
|
||||
def apply_key_map(key_map, table):
|
||||
new_dict = {}
|
||||
for key, value in table:
|
||||
new_key = key_map.get(key)
|
||||
if new_key:
|
||||
new_dict[new_key] = table.get(key)
|
||||
return new_dict
|
||||
|
||||
|
||||
def state_present(module, proposed, candidate):
|
||||
commands = ['router ospf {0}'.format(proposed['ospf'])]
|
||||
candidate.add(commands, parents=[])
|
||||
|
|
Loading…
Reference in a new issue