1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fix error

This commit is contained in:
Daniel Sheppard
2022-07-06 09:01:08 -05:00
parent 5bcc3a3fb9
commit f1c8926252

View File

@@ -976,7 +976,7 @@ class L2VPNTerminationForm(NetBoxModelForm):
if interface and vlan and vminterface:
raise ValidationError('Cannot assign a interface, vlan and vminterface')
elif interface and vlan:
raise Validatio`nError('Cannot assign both a interface and vlan')
raise ValidationError('Cannot assign both a interface and vlan')
elif interface and vminterface:
raise ValidationError('Cannot assign both a interface and vminterface')
elif vlan and vminterface: