1
0
Fork 0
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:
Trishna Guha 2017-05-19 10:57:16 +05:30 committed by GitHub
parent 998305a493
commit 21e28a431b

View file

@ -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=[])