From def19faabe41b31db0ed947d6e3145c9b0eb742b Mon Sep 17 00:00:00 2001 From: "ricardo.bartels@telekom.de" Date: Sat, 9 Apr 2022 20:15:31 +0200 Subject: [PATCH] fixes issue with wrong vm primary ip object type #172 --- module/netbox/object_classes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/netbox/object_classes.py b/module/netbox/object_classes.py index faf14ff..4c1f83e 100644 --- a/module/netbox/object_classes.py +++ b/module/netbox/object_classes.py @@ -1450,8 +1450,8 @@ def __init__(self, *args, **kwargs): "memory": int, "disk": int, "comments": str, - "primary_ip4": object, - "primary_ip6": object, + "primary_ip4": NBIPAddress, + "primary_ip6": NBIPAddress, "tags": NBTagList, "tenant": NBTenant, "custom_fields": NBCustomField