mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
Removing unused function
This commit is contained in:
parent
d53b52d528
commit
da8aa0dd29
1 changed files with 0 additions and 14 deletions
|
@ -334,20 +334,6 @@ def flatten_list(command_lists):
|
||||||
return flat_command_list
|
return flat_command_list
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def apply_key_map(key_map, table):
|
|
||||||
new_dict = {}
|
|
||||||
for key, value in table.items():
|
|
||||||
new_key = key_map.get(key)
|
|
||||||
if new_key:
|
|
||||||
value = table.get(key)
|
|
||||||
if value:
|
|
||||||
new_dict[new_key] = str(value)
|
|
||||||
else:
|
|
||||||
new_dict[new_key] = value
|
|
||||||
return new_dict
|
|
||||||
|
|
||||||
|
|
||||||
def get_vtp_config(module):
|
def get_vtp_config(module):
|
||||||
command = 'show vtp status'
|
command = 'show vtp status'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue