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

This commit is contained in:
Eric Beahan 2016-12-15 15:31:34 -06:00 committed by Peter Sprygada
parent e0e1d3b561
commit dce8f3899e

View file

@ -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':