diff --git a/devices.go b/devices.go index bc7e68c..f489952 100644 --- a/devices.go +++ b/devices.go @@ -180,7 +180,7 @@ type DeviceLocation struct { RackName string `json:"rack"` RackUnitStart int `json:"rack_unit_start" faker:"rack_unit_start"` TargetHardwareProduct struct { - ID uuid.UUID `json:"id" faker"uuid"` + ID uuid.UUID `json:"id" faker:"uuid"` Name string `json:"name"` Alias string `json:"alias"` Vendor string `json:"hardware_vendor_id"` diff --git a/racks.go b/racks.go index e111bd1..5c8744a 100644 --- a/racks.go +++ b/racks.go @@ -318,8 +318,8 @@ type RackLayoutSlot struct { RackName string `json:"rack_name"` SKU string `json:"sku"` HardwareProductID uuid.UUID `json:"hardware_product_id" faker:"uuid"` - RackUnitStart int `json:"rack_unit_start", faker:"rack_unit_start"` - RackUnitSize int `json:"rack_unit_size", faker:"rack_unit_size"` + RackUnitStart int `json:"rack_unit_start" faker:"rack_unit_start"` + RackUnitSize int `json:"rack_unit_size" faker:"rack_unit_size"` Created time.Time `json:"created" faker:"-"` Updated time.Time `json:"updated" faker:"-"` }