From d1c69e8fe5e0e140ce5edb2a47a07e8de8bb8646 Mon Sep 17 00:00:00 2001 From: kr3ator <48438188+kr3ator@users.noreply.github.com> Date: Wed, 6 Apr 2022 16:45:25 +0200 Subject: [PATCH] fix: invalid Interface optional assoc --- startup_scripts/370_ip_addresses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup_scripts/370_ip_addresses.py b/startup_scripts/370_ip_addresses.py index 76a7169..afe7612 100644 --- a/startup_scripts/370_ip_addresses.py +++ b/startup_scripts/370_ip_addresses.py @@ -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(