mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Back to name
This commit is contained in:
parent
f3abe1da44
commit
98308b2eef
@ -1605,7 +1605,7 @@ class InterfaceCSVForm(forms.ModelForm):
|
||||
if device_id is not None and lag_name is not None:
|
||||
lag = Interface.objects.filter(
|
||||
device=device_id, form_factor=IFACE_FF_LAG).get(
|
||||
lag=lag_name.id
|
||||
lag=lag_name
|
||||
)
|
||||
if not lag_name:
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user