From 550adeb7461951322e26e54ed04a97f361717351 Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Tue, 22 Dec 2020 16:35:30 +0100 Subject: [PATCH] Fix VLAN Data as well. --- netbox_vlans.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox_vlans.go b/netbox_vlans.go index db80227..a71ceb5 100644 --- a/netbox_vlans.go +++ b/netbox_vlans.go @@ -106,7 +106,7 @@ type VLAN struct { } `json:"tenant"` Status struct { Label string `json:"label"` - Value int `json:"value"` + Value string `json:"value"` } `json:"status"` Role struct { ID int `json:"id"`