Modify an initial value causing exception when vlan_range param is present (#19019)

pull/19418/head
Eric Beahan 8 years ago committed by Peter Sprygada
parent e0e1d3b561
commit dce8f3899e

@ -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…
Cancel
Save