fix: invalid Interface optional assoc

This commit is contained in:
kr3ator 2022-04-06 16:45:25 +02:00
parent 81d9e4f560
commit d1c69e8fe5

View File

@ -17,7 +17,7 @@ if ip_addresses is None:
optional_assocs = {
"tenant": (Tenant, "name"),
"vrf": (VRF, "name"),
"interface": (None, None),
"interface": (Interface, "name"),
}
vm_interface_ct = ContentType.objects.filter(