diff --git a/netbox_devices.go b/netbox_devices.go index ae50fb7..6c1234c 100644 --- a/netbox_devices.go +++ b/netbox_devices.go @@ -86,7 +86,7 @@ type DcimDevicesList struct { } `json:"parent_device"` Status struct { Label string `json:"label"` - Value int `json:"value"` + Value string `json:"value"` } `json:"status"` PrimaryIP struct { ID int `json:"id"`