Remove unsed variable is l2_interfaces.py (#61246)

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-08-24 12:57:17 -04:00 committed by GitHub
parent c3b1a0a7e8
commit c61dec032c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -207,7 +207,6 @@ def set_interface(want, have):
commands.append("switchport trunk native vlan {0}".format(native_vlan))
allowed_vlans = want['trunk'].get("trunk_allowed_vlans")
has_allowed = has_trunk.get("trunk_allowed_vlans")
if allowed_vlans:
allowed_vlans = ','.join(allowed_vlans)
commands.append("switchport trunk allowed vlan {0}".format(allowed_vlans))