From d23db473eea3ddc4ab22eb9c8a8a629c1864e737 Mon Sep 17 00:00:00 2001 From: Sjur Fredriksen Date: Fri, 27 Sep 2024 10:34:19 +0200 Subject: [PATCH] fix: references to type --- netbox/resource_netbox_rack.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/netbox/resource_netbox_rack.go b/netbox/resource_netbox_rack.go index 984e1a07..9d6ac6e1 100644 --- a/netbox/resource_netbox_rack.go +++ b/netbox/resource_netbox_rack.go @@ -271,12 +271,6 @@ func resourceNetboxRackRead(d *schema.ResourceData, m interface{}) error { d.Set("serial", rack.Serial) d.Set("asset_tag", rack.AssetTag) - if rack.Type != nil { - d.Set("type", rack.Type.Value) - } else { - d.Set("type", nil) - } - d.Set("weight", rack.Weight) d.Set("max_weight", rack.MaxWeight)