Skip to content

Commit

Permalink
fix: references to type
Browse files Browse the repository at this point in the history
  • Loading branch information
sjurtf committed Sep 27, 2024
1 parent 999cee6 commit d23db47
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions netbox/resource_netbox_rack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d23db47

Please sign in to comment.