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))
|
vlan_id or vlan_range))
|
||||||
existing_vlans_list = numerical_sort(get_list_of_vlans(module))
|
existing_vlans_list = numerical_sort(get_list_of_vlans(module))
|
||||||
commands = []
|
commands = []
|
||||||
existing = None
|
existing = {}
|
||||||
|
|
||||||
if vlan_range:
|
if vlan_range:
|
||||||
if state == 'present':
|
if state == 'present':
|
||||||
|
|
Loading…
Reference in a new issue