mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-17 19:31:08 +02:00
fix: invalid Interface optional assoc
This commit is contained in:
@ -17,7 +17,7 @@ if ip_addresses is None:
|
|||||||
optional_assocs = {
|
optional_assocs = {
|
||||||
"tenant": (Tenant, "name"),
|
"tenant": (Tenant, "name"),
|
||||||
"vrf": (VRF, "name"),
|
"vrf": (VRF, "name"),
|
||||||
"interface": (None, None),
|
"interface": (Interface, "name"),
|
||||||
}
|
}
|
||||||
|
|
||||||
vm_interface_ct = ContentType.objects.filter(
|
vm_interface_ct = ContentType.objects.filter(
|
||||||
|
Reference in New Issue
Block a user