mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Modify an initial value causing exception when vlan_range param is present (#19019)
This commit is contained in:
parent
e0e1d3b561
commit
dce8f3899e
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ def main():
|
|||
vlan_id or vlan_range))
|
||||
existing_vlans_list = numerical_sort(get_list_of_vlans(module))
|
||||
commands = []
|
||||
existing = None
|
||||
existing = {}
|
||||
|
||||
if vlan_range:
|
||||
if state == 'present':
|
||||
|
|
Loading…
Reference in a new issue